Rev. 1.2
117
C8051T620/1/6/7 & C8051T320/1/2/3
SFR Address = 0xF5
SFR Definition 18.3. IAPCN: In-Application Programming Control
Bit
7
6
5
4
3
2
1
0
Name
IAPEN
IAPDISD
Type
R/W
R/W
R
R
R
R
R
R
Reset
0
0
0
0
0
0
0
0
Bit
Name
Function
7
IAPEN
In-Application Programming Enable.
0: In-Application Programming is disabled.
1: In-Application Programming is enabled.
6
IAPHWD
In-Application Programming Hardware Disable.
This bit disables the In-Application Programming hardware so the V
PP
programming
pin can be used as a normal GPIO pin.
Note:
This bit should not be set less than 1 µs after the last EPROM write.
0: In-Application Programming discharge hardware enabled.
1: In-Application Programming discharge hardware disabled.
5:0
Unused
Read = 000000b. Write = don’t care.