English
Language : 

N76E885 Datasheet, PDF (147/196 Pages) List of Unclassifed Manufacturers – Microcontroller
N76E885 Datasheet
Bit
0
Name
IAPEN
Description
condition is met:
(1) The accessing address is oversize.
(2) IAPCN command is invalid.
(3) IAP erases or programs updating un-enabled block.
(4) IAP erasing or programming operates under VBOD while BOIAP (CONFIG2.5)
remains un-programmed 1 with BODEN (BODCON0.7) as 1 and BORST
(BODCON0.2) as 0.
This bit should be cleared via software.
IAP enable
0 = IAP function Disabled.
1 = IAP function Enabled.
Once enabling IAP function, the HIRC will be turned on for timing control. To clear
IAPEN should always be the last instruction after IAP operation to stop internal
oscillator if reducing power consumption is concerned.
IAPUEN – IAP Updating Enable (TA protected)
7
6
5
4
-
-
-
-
-
-
-
-
Address: A5H
3
2
1
0
-
CFUEN
LDUEN
APUEN
-
R/W
R/W
R/W
Reset value: 0000 0000b
Bit
2
1
0
Name
CFUEN
LDUEN
APUEN
Description
CONFIG bytes updated enable
0 = Inhibit erasing or programming CONFIG bytes by IAP.
1 = Allow erasing or programming CONFIG bytes by IAP.
LDROM updated enable
0 = Inhibit erasing or programming LDROM by IAP.
1 = Allow erasing or programming LDROM by IAP.
APROM updated enable
0 = Inhibit erasing or programming APROM by IAP.
1 = Allow erasing or programming APROM by IAP.
IAPCN – IAP Control
7
6
5
4
3
IAPB[1:0]
FOEN
FCEN
R/W
R/W
R/W
Address: AFH
2
1
0
FCTRL[3:0]
R/W
Reset value: 0011 0000b
Bit
7:6
5
4
3:0
Name
IAPB[1:0]
FOEN
FCEN
FCTRL[3:0]
Description
IAP control
This byte is used for IAP command. For details, see Table 22–1. IAP Modes
and Command Codes.
Dec. 21, 2015
Page 147 of 196
Rev. 1.01