參數(shù)資料
型號: X12xx-EVM(中文)
英文描述: Xicor RTC X12xx-EVM User Guide(XICOR RTC X12xx-EVM評估板使用說明)
中文描述: Xicor時(shí)鐘X12xx - EVM用戶指南(XICOR RTC的X12xx - EVM的評估板使用說明)
文件頁數(shù): 13/18頁
文件大?。?/td> 561K
代理商: X12XX-EVM(中文)
;** Serial Memory. The caller program must supply the page number
;** of the Serial Memory to update and the base address of the
;** RAM buffer.
;** Calls: Start, SlavAddr, OutByte, Stop
;** Input: R0 = RAM Buffer Base Address, DPTR = Address of programm
;** R1 = Number of bytes to write
;** Output: None
;** Register Usage: A, R0, R1
;******************************************************************************
ProgPage:
acall Start ; START
clr C ; [C=0] WRITE OPERATION BIT
acall SlavAddr ; SEND THE SLAVE ADDRESS BYTE
mov A,DPH ; LOAD THE HIGHER BYTE OF ADDRESS
cjne A,#0FFH,ProgP16
ajmp ProgP8
ProgP16:
acall OutByte
ProgP8:
mov A,DPL ; LOAD THE LOWER BYTE OF ADDRESS
acall OutByte ; AND SHIFT OUT TO THE DEVICE
ProgPageNxt:
mov A,@R0 ; TO THE Serial MEMORY
acall OutByte ; R0 SHOULD BE POINTING TO THE BUFFER
inc R0 ; TOTAL NUMBER OF BYTES TRANSFERRED
djnz R1,ProgPageNxt ; TO THE Serial SHOULD NOT EXCEED
; THE PAGE SIZE
ajmp Stop ; END OF THE OPERATION
;******************************************************************************
;** Name: ProgByte
;** Description: Write a byte to IIC Device.
;** Function: This subroutine transfers the contents of Acc to the IIC
;** Device. The upper byte of the word address is contained in
;** (DPH) and the lower byte is contained in (DPL). A two byte
;** address is required for both page and byte write commands.
;**
;** Calls: Start, SlavAddr, Outbyte, Stop
;** Input: Acc = byte to be written, DPTR = Address of programm
;** Output: None
;** Register Usage: B
;******************************************************************************
ProgByte:
xch A,B
; SAVE DATA BYTE
acall Start ; START
clr c ; [C=0] WRITEOPERATION BIT
acall SlavAddr ; SEND THE SLAVE ADDRESS BYTE
mov A,DPH ; LOAD THE UPPER BYTE OF THE WORD ADDRESS
cjne A,#0FFH,ProgB16
ajmp ProgB8
ProgB16:
acall OutByte ; SEND OUT THE HIGHER BYTE OF THE ADDRESS
www.ic base.c om
相關(guān)PDF資料
PDF描述
X187 TEMPERATURSICHERUNG 187GRAD 5ST
X25 40V Single N-Channel HEXFET Power MOSFET in a D2-Pak package; A IRL1004S with Standard Packaging
X2001D-20 NVRAM (EEPROM Based)
X2001D-25 A 30V Single N-Channel HEXFET Power MOSFET in a DirectFET MX, 180 Amps
X2001DI 30V Single N-Channel HEXFET Power MOSFET in a TO-262 package; Similar to IRF3709ZCL with Lead Free Packaging
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
X12xx-EVM-08 制造商:P&S 功能描述:X1208IB8, ISL1208IB8 Evaluation Board Using PC to Display Clock, and An Instal Software CD-ROM
X12xx-EVM-26 制造商:P&S 功能描述:Xicor RTC X12xx-EVM User Guide
X12xx-EVM-27 制造商:P&S 功能描述:Xicor RTC X12xx-EVM User Guide
X12xx-EVM-28 制造商:P&S 功能描述:Xicor RTC X12xx-EVM User Guide
X13005 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:HIGH VOLTAGE FAST-SWITCHING NPN POWER TRANSISTOR