English
Language : 

Z8F0113HJ005EG Datasheet, PDF (160/245 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F0823 Series
Product Specification
145
Flash Sector Protect Register
The Flash Sector Protect (FPROT) Register is shared with the Flash Page Select Register.
When the Flash Control Register is written with 5EH, the next write to this address targets
the Flash Sector Protect Register. In all other cases, it targets the Flash Page Select Regis-
ter.
This register selects one of the 8 available Flash memory sectors to be protected. The reset
state of each Sector Protect bit is an unprotected state. After a sector is protected by setting
its corresponding register bit, it cannot be unprotected (the register bit cannot be cleared)
without powering down the device.
Table 84. Flash Sector Protect Register (FPROT)
Bit
Field
RESET
R/W
Address
7
SPROT7
0
R/W
6
SPROT6
0
R/W
5
SPROT5
0
R/W
4
3
SPROT4 SPROT3
0
0
R/W
R/W
FF9H
2
SPROT2
0
R/W
1
SPROT1
0
R/W
0
SPROT0
0
R/W
Bit
Description
[7]
Sector Protection
SPROTn Each bit corresponds to a 1024-byte Flash sector on devices in the 8K range, while the
remaining devices correspond to a 512-byte Flash sector. To determine the appropriate Flash
memory sector address range and sector number for your Z8F0823 Series product, please
refer to Table 79 on page 134 and to Figure 20, which follows the table.
• For Z8F08x3 and Z8F04x3 devices, all bits are used.
• For Z8F02x3 devices, the upper 4 bits are unused.
• For Z8F01x3 devices, the upper 6 bits are unused.
Note: n indicates the specific Flash sector (7–0).
Flash Frequency High and Low Byte Registers
The Flash Frequency High (FFREQH) and Low Byte (FFREQL) registers combine to
form a 16-bit value, FFREQ, to control timing for Flash program and erase operations.
The 16-bit binary Flash Frequency value must contain the system clock frequency (in
kHz) and is calculated using the following equation:
FFREQ[15:0] = FFREQH[7:0],FFREQL[7:0] = S-----y---s---t-e----m------C-----l-o---c---k-----F----r--e---q---u----e---n---c---y--
1000
PS024315-1011
PRELIMINARY
Flash Control Register Definitions