Nxp semiconductors – NXP Semiconductors P89LPC9321 UM10310 User Manual

Page 126

Advertising
background image

UM10310

All information provided in this document is subject to legal disclaimers.

© NXP B.V. 2010. All rights reserved.

User manual

Rev. 2 — 1 November 2010

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

Advertising