TC1796
System Units (Vol. 1 of 2)
Program Memory Unit
User’s Manual
7-43
V2.0, 2007-07
PMU, V2.0
7.2.11.2 Flash Status Register
The read-only Flash Status Register indicates the overall status of the Flash module. It
includes busy, program, erase, error, protection, and sleep mode flags.
FLASH_FSR
Flash Status Register
(1010
H
)
Reset Value: 0XXX X0X0
H
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
VER
0
SLM
0
W
PRO
DIS1
W
PRO
DIS0
0
W
PRO
IN2
W
PRO
IN1
W
PRO
IN0
0
R
PRO
DIS
R
PRO
IN
0
PRO
IN
rh
r
rh
r
rh
rh
r
rh
rh
rh
r
rh
rh
r
rh
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DF
DB
ER
PF
DB
ER
DF
SB
ER
PF
SB
ER
PRO
ER
SQ
ER
DF
OP
ER
PF
OP
ER
DF
PA
GE
PF
PA
GE
ERA
SE
PR
OG
D1
BU
SY
D0
BU
SY
FA
BU
SY
P
BU
SY
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
rh
Field
Bits
Type Description
PBUSY
0
rh
PFLASH Busy
This flag indicates the busy state of the PFLASH
during program or erase operations. It also indicates
when the PFLASH is not in Read Mode, e.g. in ramp-
up state. PBUSY is cleared by any reset operation.
0
B
PFLASH is ready and in Read Mode.
(default after reset)
1
B
PFLASH is busy (program, erase, ramp-up, or
in sleep mode) and it is not in Read Mode.
FABUSY
1
rh
Flash Array Busy
This status flag is a flag for test purposes that should
not be used by software drivers. It indicates whether
any of the Flash arrays is in busy state. FABUSY is
cleared by any reset operation.
0
B
Flash array banks are not busy and are in Read
Mode (default after reset).
1
B
At least one of the Flash array banks or the
whole array is busy (program, erase, ramp-up
or sleep mode). Flash read accesses are not
possible.