參數(shù)資料
型號: T89C51IC2-SLSIL
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 8-bit Microcontroller with Flash and I2C Interface
中文描述: 8-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQCC44
封裝: PLASTIC, LCC-44
文件頁數(shù): 34/170頁
文件大?。?/td> 1927K
代理商: T89C51IC2-SLSIL
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描述
T89C51IC2-SLSIM 8-bit Microcontroller with Flash and I2C Interface
T89C51RB2-3CWIL 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-3CWIL 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-RLWCM 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RC2-RLWIL 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
T89C51IC2-SLSIM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with Flash and I2C Interface
T89C51RB2 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16K/ 32K Bytes Flash
T89C51RB2_06 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16K/ 32K Bytes Flash
T89C51RB2-3CBCL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RB2-3CBCM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH