Read configuration and manufacturer information – Rainbow Electronics AT89C5132 User Manual
Page 26
Advertising

26
AT89C5132
4256A–USB–06/03
Read Configuration and
Manufacturer Information
•
Parameter settings
•
Instruction: LCALL FFF0h.
•
At the complete API execution by the bootloader, the value to read is in the
api_value variable.
Note:
No special resources are used by the bootloader during this operation
API Name
api_command
api_dph
api_dpl
api_value
__api_rd_HSB
08h
–
00h
return HSB
__api_rd_BSB
05h
–
00h
return BSB
__api_rd_SBV
05h
–
01h
return SBV
__api_rd_SSB
05h
–
05h
return SSB
__api_rd_EB
05h
–
06h
return EB
__api_rd_manufacturer
05h
–
30h
return
manufacturer id
__api_rd_device_id1
05h
–
31h
return id1
__api_rd_device_id2
05h
–
60h
return id2
__api_rd_device_id3
05h
–
61h
return id3
__api_rd_bootloader_version
0Eh
–
00h
return value
Advertising