Rainbow Electronics T89C51RD2 User Manual
Page 63
63
Rev. F - 15 February, 2001
T89C51RD2
API call
Parameter
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 copy of the
HARDWARE SECURITY
BITS
Input Parameters:
R0 = osc freq (integer Not required, left for Philips compatibility)
R1 = 07h
DPH = 00h
DPL = 03h (Hardtware security bits)
Return Parameter
ACC = value of byte read
READ BOOT VECTOR
Input Parameters:
R0 = osc freq (integer Not required, left for Philips compatibility)
R1 = 07h
DPH = 00h
DPL = 02h (boot vector)
Return Parameter
ACC = value of byte read
READ BOOTLOADER
VERSION
Input Parameters:
R0 = osc freq (integer Not required, left for Philips compatibility)
R1 = 08h
Return Parameter
ACC = value of byte read
READ BOOT STATUS
BYTE
Input Parameters:
R0 = osc freq (integer Not required, left for Philips compatibility)
R1 = 07h
DPH = 00h
DPL = 01h (status byte)
Return Parameter
ACC = value of byte read
Table 33. API calls