beautypg.com

Rainbow Electronics AT89C5131 User Manual

Page 49

background image

49

AT89C5131

4136A–USB–03/03

READ copy of the MANUFACTURER ID

Input Parameters:

R0 = osc freq (integer Not required, left for Philips
compatibility)

R1 = 00h

DPH = 00h

DPL = 00h (manufacturer ID)

Return Parameter

ACC = value of byte read

READ copy of the device ID # 1

Input Parameters:

R0 = osc freq (integer Not required, left for Philips
compatibility)

R1 = 00h

DPH = 00h

DPL = 01h (device ID #1)

Return Parameter

ACC = value of byte read

READ copy of the device ID # 2

Input Parameters:

R0 = osc freq (integer Not required, left for Philips
compatibility)

R1 = 00h

DPH = 00h

DPL = 02h (device ID #2)

Return Parameter

ACC = value of byte read

READ copy of the device ID # 3

Input Parameters:

R0 = osc freq (integer Not required, left for Philips
compatibility)

R1 = 00h

DPH = 00h

DPL = 03h (device ID #2)

Return Parameter

ACC = value of byte read

READ SOFTWARE SECURITY BITS

Input Parameters:

R0 = osc freq (integer Not required, left for Philips
compatibility)

R1 = 07h

DPH = 00h

DPL = 00h (Software security bits)

Return Parameter

ACC = value of byte read

READ HARDWARE SECURITY BITS

Input Parameters:

R0 = osc freq (integer Not required, left for Philips
compatibility)

R1 = 07h

DPH = 00h

DPL = 04h (Hardware security bits)

Return Parameter

ACC = value of byte read

Table 41. API Calls (Continued)

API Call

Parameter