參數(shù)資料
型號: X12xx-EVM(中文)
英文描述: Xicor RTC X12xx-EVM User Guide(XICOR RTC X12xx-EVM評估板使用說明)
中文描述: Xicor時鐘X12xx - EVM用戶指南(XICOR RTC的X12xx - EVM的評估板使用說明)
文件頁數(shù): 15/18頁
文件大?。?/td> 561K
代理商: X12XX-EVM(中文)
;** Function: This subroutine shifts in a byte, MSB first, through the
;** assigned SDA/SCL lines on port 1. After the byte is received
;** an ACK bit is sent to the IIC Device.
;** Calls: ClockPulse
;** Input: None
;** Return Value: A = Received byte
;** Register Usage: A
;******************************************************************************
InByte:
mov A,#00000001b
setb P1.SDAbit ; SDA LINE FORCED HIGH
InByteNxt:
acall ClockPulse ; CLOCK THE Serial MEMORY AND SHIFT
rlc A ; INTO ACC. THE LOGIC LEVEL ON THE SDA
jnc InByteNxt ; LINE. THE DEVICE OUTPUTS DATA ON SDA
ret ; MSB FIRST
;******************************************************************************
;** Name: ClockPulse
;** Description: Generate a clock pulse
;** Function: This subroutine forces a high-low transition on the assigned SCL
;** pin of port 1. It also samples and returns the SDA line state
;** during high clock period.
;** Calls: None
;** Input: None
;** Return Value: C = SDA line status
;** Register Usage: None
;******************************************************************************
ClockPulse:
nop
setb P1.SCLbit ; BASED ON A 12MHz SYSTEM CRYSTAL THE
nop ; BUS CYCLE TIME IS 1 MICROSEC.
nop
nop
clr C ;
jnb P1.SDAbit,ClockPulseLo ;
setb C
ClockPulseLo:
clr P1.SCLbit ; LOWER THE CLOCK LINE
ret
;******************************************************************************
;** Name: OutACK
;** Description: Send out an ACK bit to the IIC Device
;** Function: This subroutine clocks an ACK bit to the IIC Device.
;** The ACK cycle acknowledges a properly received data by lowering
;** the SDA line during this period (9th clock cycle of a received
;** byte).
;** Calls: ClockPulse
;** Input: None
;** Return Value: None
;** Register Usage: None
;******************************************************************************
www.ic base.c om
相關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
相關代理商/技術參數(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