參數(shù)資料
型號(hào): X12xx-EVM(中文)
英文描述: Xicor RTC X12xx-EVM User Guide(XICOR RTC X12xx-EVM評估板使用說明)
中文描述: Xicor時(shí)鐘X12xx - EVM用戶指南(XICOR RTC的X12xx - EVM的評估板使用說明)
文件頁數(shù): 16/18頁
文件大?。?/td> 561K
代理商: X12XX-EVM(中文)
OutACK:
clr P1.SDAbit ; MAKE SURE THAT THE DATA LINE IS LOW ...
jmp ClockPulse ; CLOCK OUT THE ACK CYCLE
;******************************************************************************
;** Name: GetACK
;** Description: Clock the IIC Device for ACK cycle
;** Function: This subroutine returns the sampled logic level on the SDA during
;** high clock cycle. The IIC Device holds the SDA line HIGH if
;** it does not receive the correct number of clocks or it's stuck in
;** a previously initiated write command.
;** Calls: ClockPulse
;** Input: None
;** Return Value: C = ACKnowledge bit
;** Register Usage: None
;******************************************************************************
GetACK:
setb P1.SDAbit ; FORCE SDA LINE HIGH
acall ClockPulse ; GENERATE ONE CLOCK PULSE
ret
;******************************************************************************
;** Name: ACKPoll
;** Description: Wait for an ACK from the IIC Device
;** Function: This subroutine monitors the IIC Device response
;** following a dummy write command. The program returns when it
;** either receives an ACK bit or the maximum number of tries is
;** reached.
;** Calls: Start, SlavAddr, Stop
;** Input: None
;** Return Value: C = ACKnowledge bit [=0 ACK ,=1 No ACK was received]
;** Register Usage: A, R1
;******************************************************************************
ACKPoll:
mov R1,#MaxDelay ; LOAD MAX NO. OF ACK POLLING CYCLE
ACKPollnxt:
acall Start ; START THE ACK POLL CYCLE AND
clr C ; [C=0] WRITE OPERATION BIT
acall SlavAddr ; SEND THE SLAVE ADDRESS. THEN
; MONITOR THE SDA LINE FOR AN ACK FROM
; THE IIC Device. TERMINATE THE
acall Stop ; OPERATION BY A STOP CONDITION.
jnc ACKPollExit ; EXIT IF THE ACK WAS RECEIVED
djnz R1,ACKPollnxt ; LOOP WHILE THE MAXIMUM NO. OF CYCLES
; HAVE NOT EXPIRED. ELSE RETURN WITH C=1
ACKPollExit:
ret
;******************************************************************************
;** Name: Start
;** Description: Send a start command to the IIC Device
;** Function: This subroutine generates a start condition on the bus. The start
;** condition is defined as a high-low transition on the SDA
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