| Electronic Components Datasheet Search |
|
P89C668 Datasheet(PDF) 72 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P89C668 Datasheet(HTML) 72 Page - NXP Semiconductors |
|
72 / 89 page ![]() Philips Semiconductors Product data P89C660/P89C662/P89C664/ P89C668 80C51 8-bit Flash microcontroller family 16KB/32KB/64KB ISP/IAP Flash with 512B/1KB/2KB/8KB RAM 2002 Oct 28 72 IAP CALL PARAMETER READ MANUFACTURER ID Input Parameters: R0 = osc freq (integer) R1 = 00h R1 = 80h (WDT feed, Rx2 & 66x only) DPH = 00h DPL = 00h (manufacturer ID) Return Parameter ACC = value of byte read Sample routine: ;*****reads the Manufacturer ID (MID) ***** ;***** MID returned in ACC (should be 15h for Philips) RDMID: MOV AUXR1,#20H ;set the ENBOOT bit MOV R0,#11 ;FOSC MOV R1,#00H ;read misc function MOV DPTR,#0000H ;specify MID CALL PGM_MTP ;execute the function RET READ DEVICE ID # 1 Input Parameters: R0 = osc freq (integer) R1 = 00h R1 = 80h (WDT feed, Rx2 & 66x only) DPH = 00h DPL = 01h (device ID # 1) Return Parameter ACC = value of byte read Sample routine: ;*****reads the Device ID 1 (DID1) ***** ;***** DID1 returned in ACC RDDID1: MOV AUXR1,#20H ;set the ENBOOT bit MOV R0,#11 ;FOSC MOV R1,#00H ;read misc function MOV DPTR,#0001H ;specify device id 1 CALL PGM_MTP ;execute the function RET READ DEVICE ID # 2 Input Parameters: R0 = osc freq (integer) R1 = 00h R1 = 80h (WDT feed, Rx2 & 66x only) DPH = 00h DPL = 02h (device ID # 2) Return Parameter ACC = value of byte read Sample routine: ;*****reads the Device ID 2 (DID2) ***** ;***** DID2 returned in ACC RDDID2: MOV AUXR1,#20H ;set the ENBOOT bit MOV R0,#11 ;FOSC MOV R1,#00H ;read misc function MOV DPTR,#0002H ;specify device id 2 CALL PGM_MTP ;execute the function RET |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |