English
Language : 

Z8F4822AR020SG Datasheet, PDF (197/323 Pages) Zilog, Inc. – High Performance 8-Bit Microcontrollers
Z8 Encore! XP® F64xx Series
Product Specification
177
Flash Status Register
The Flash Status Register, shown in Table 94, indicates the current state of the Flash Con-
troller. This register can be read at any time. The read-only Flash Status Register shares its
Register File address with the write-only Flash Control Register.
Table 94. Flash Status Register (FSTAT)
Bit
7
6
5
4
3
2
1
0
Field
Reserved
FSTAT
RESET
0
R/W
R
Address
FF8H
Bit
[7:6]
[5:0]
FSTAT
Description
Reserved
These bits are reserved and must be programmed to 00.
Flash Controller Status
00_0000 = Flash Controller locked.
00_0001 = First unlock command received.
00_0010 = Second unlock command received.
00_0011 = Flash Controller unlocked.
00_0100 = Flash Sector Protect Register selected.
00_1xxx = Program operation in progress.
01_0xxx = Page erase operation in progress.
10_0xxx = Mass erase operation in progress.
Page Select Register
The Page Select (FPS) Register, shown in Table 95, selects one of the 128 available Flash
memory pages to be erased or programmed. Each Flash page contains 512 bytes of Flash
memory. During a Page Erase operation, all Flash memory locations with the 7 most sig-
nificant bits of the address provided by the PAGE field are erased to FFH.
The Page Select Register shares its Register File address with the Flash Sector Protect
Register. The Page Select Register cannot be accessed when the Flash Sector Protect Reg-
ister is enabled.
PS019924-0113
PRELIMINARY
Flash Control Register Definitions