參數(shù)資料
型號(hào): T89C51RC2-3CWIM
廠商: Atmel Corp.
英文描述: 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
中文描述: 8位微控制器,帶有16字節(jié)/ 32千字節(jié)閃存
文件頁數(shù): 34/170頁
文件大?。?/td> 1927K
代理商: T89C51RC2-3CWIM
34
A/T89C51CC01
4129L–CAN–08/05
Examples
;*F*************************************************************************
;* NAME: api_rd_eeprom_byte
;* DPTR contain address to read.
;* Acc contain the reading value
;* NOTE: before execute this function, be sure the EEPROM is not BUSY
;***************************************************************************
api_rd_eeprom_byte:
; Save and clear EA
MOV EECON, #02h; map EEPROM in XRAM space
MOVX A, @DPTR
MOV EECON, #00h; unmap EEPROM
; Restore EA
ret
;*F*************************************************************************
;* NAME: api_ld_eeprom_cl
;* DPTR contain address to load
;* Acc contain value to load
;* NOTE: in this example we load only 1 byte, but it is possible upto
;* 128 Bytes.
;* before execute this function, be sure the EEPROM is not BUSY
;***************************************************************************
api_ld_eeprom_cl:
; Save and clear EA
MOV EECON, #02h ; map EEPROM in XRAM space
MOVX @DPTR, A
MOVEECON, #00h; unmap EEPROM
; Restore EA
ret
;*F*************************************************************************
;* NAME: api_wr_eeprom
;* NOTE: before execute this function, be sure the EEPROM is not BUSY
;***************************************************************************
api_wr_eeprom:
; Save and clear EA
MOV EECON, #050h
MOV EECON, #0A0h
; Restore EA
ret
相關(guān)PDF資料
PDF描述
T89C51RB2-3CWIM 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-RLWIM 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-SLWCL 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-RLWCL 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RD2-SLWC-L 0 to 40MHz Flash Programmable 8-bit Microcontroller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
T89C51RC2-RLBCL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-RLBCM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-RLBIL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-RLBIM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-RLSCL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH