UM10310_1 © NXP B.V. 2008. All rights reserved.
User manual Rev. 01 — 1 December 2008 126 of 139
NXP Semiconductors UM10310
P89LPC9321 User manual
Misc. Read Input parameters:
ACC = 03h
R7= register address
00= UCFG1
01= UCFG2
02= Boot Vector
03= Status Byte
04 to 07 = reserved
08= Security Byte 0
09= Security Byte 1
0A= Security Byte 2
0B= Security Byte 3
0C= Security Byte 4
0D= Security Byte 5
0E= Security Byte 6
0F= Security Byte 7
Return parameter(s):
R7= register data if no error, else error status
Carry= set on error, clear on no error
Erase Sector/Page
(requires ‘key’) Input parameters:
ACC = 04h
R4= address (MSB)
R5= address (LSB)
R7= 00H (erase page) or 01H (erase sector)
Return parameter(s):
R7= data
Carry= set on error, clear on no error
Table 110. IAP function calls …continued
IAP function IAP call parameters