參數(shù)資料
型號(hào): T89C51RC2-RLTIM
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
中文描述: 8-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQFP44
封裝: VQFP-44
文件頁數(shù): 34/170頁
文件大小: 1927K
代理商: T89C51RC2-RLTIM
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描述
T89C51RC2-SLBCL 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-SLBCM 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-SLTCL 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-SLTCM 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-SLTIM 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
T89C51RC2-RLWCL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-RLWCM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-RLWIL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-RLWIM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-SLBCL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH