參數(shù)資料
型號: X12xx-EVM(中文)
英文描述: Xicor RTC X12xx-EVM User Guide(XICOR RTC X12xx-EVM評估板使用說明)
中文描述: Xicor時鐘X12xx - EVM用戶指南(XICOR RTC的X12xx - EVM的評估板使用說明)
文件頁數(shù): 11/18頁
文件大小: 561K
代理商: X12XX-EVM(中文)
;** ProgByte: Transfer byte from RAM buffer to IIC Device
;** SeqRead: Read multiple bytes, starting from current address pointer
;** RandomRead: Read a byte from a specific memory location
;** ACKPoll: Return when the write cycle completes.
;** OutACK: Process the acknowledge output cycle
;** GetACK: process the acknowledge from the slave device
;**
;** NOTE 1. These rountines can run at 12.0MHz, While IIC Maxspeed is 400K
;** 2. The IIC Device must based on 16-bits address, so the sequence:
;**
;** START Slave Address Address Data STOP
;** \XXXXXXXW AAAAAAAA AAAAAAAA DDDDDDDD /
;**
ACK ACK ACK ACK
;**
;******************************************************************************
;******************************************************************************
;* PROGRAM CONSTANTS
;******************************************************************************
SDAbit EQU 00H ; PORT-1 BITS FUNCTIONING AS BIDIRECTIONAL
SCLbit EQU 01H ; SERIAL DATA (SDA) AND SERIAL CLOCK OUTPUT (SCL)
MaxDelay EQU 0FFH ; NUMBER OF TIMES TO CHECK ACKNOWLEDGE POLLING
DeviceID EQU 6FH ; DEVICE SLAVE ADDRESS
; X1208\1209 SLAVE ADDRESS: 1101111B
;*******************************************************************************
;******************************************************************************
;** Name: SeqRead
;** Description: Read sequentially from the IIC Device.
;** Function: This subroutine extracts contents of the IIC Device and stores
;** them into the specified RAM buffer. The total number of bytes to
;** read should be provided along with the buffer address. This
;** routine assumes that the address pointer has already been
;** initialized using the RandomRead routine.
;**
;** Calls: Start, SlavAddr, InByte, StopRead
;** Input: R0 = RAM Buffer Base Address
;** R1 = Number of bytes to read
;** Output: None
;** Register Usage: A, R0, R1
;******************************************************************************
ORG 0300H ; IIC.ASM MAPPED IN: 300~3D2H
SeqRead:
acall Start ; START
setb c ; [C=1] READ OPERATION BIT
acall SlavAddr ; SEND THE SLAVE ADDRESS BYTE
SeqReadLoop:
acall InByte ; START READING FROM THE CURRENT ADDRESS
mov @R0,A ; TOTAL NUMBER OF BYTES TO READ OUT OF
inc R0 ; IIC Device
djnz R1,SeqReadNxt
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