English
Language : 

C8051F326 Datasheet, PDF (68/140 Pages) List of Unclassifed Manufacturers – Full Speed USB, 16 kB Flash MCU Family
C8051F326/7
Locked when any
other FLASH pages
are locked
Access limit set
according to the
FLASH security lock
byte
C8051F326/7
Reserved
Lock Byte
0x3E00
0x3DFF
0x3DFE
0x3C00
Unlocked FLASH Pages
FLASH memory
organized in 512-byte
pages
0x0000
Figure 8.1. Flash Program Memory Map and Security Byte
SFR Definition 8.1. PSCTL: Program Store R/W Control
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset Value
—
—
—
—
— Reserved PSEE PSWE 00000000
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0 SFR Address:
0x8F
Bits7–3:
Bit2:
Bit1:
Bit0:
Unused: Read = 00000b. Write = don’t care.
Reserved. Read = 0b. Must Write = 0b.
PSEE: Program Store Erase Enable
Setting this bit (in combination with PSWE) allows an entire page of Flash program memory
to be erased. If this bit is logic 1 and Flash writes are enabled (PSWE is logic 1), a write to
Flash memory using the MOVX instruction will erase the entire page that contains the loca-
tion addressed by the MOVX instruction. The value of the data byte written does not matter.
0: Flash program memory erasure disabled.
1: Flash program memory erasure enabled.
PSWE: Program Store Write Enable
Setting this bit allows writing a byte of data to the Flash program memory using the MOVX
write instruction. The Flash location should be erased before writing data.
0: Writes to Flash program memory disabled.
1: Writes to Flash program memory enabled; the MOVX write instruction targets Flash
memory.
68
Rev. 0.5