C8051F80x-83x
SFR Definition 19.1. PSCTL: Program Store R/W Control
Bit
7
6
5
4
3
2
1
0
PSEE
PSWE
Name
Type
Reset
R
0
R
0
R
0
R
0
R
0
R
0
R/W
0
R/W
0
SFR Address =0x8F
Bit
7:2
1
Name
Unused Read = 000000b, Write = don’t care.
PSEE Program Store Erase Enable.
Function
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 location 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.
0
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.
118
Rev. 1.0