参数资料
型号: DS1215
厂商: DALLAS SEMICONDUCTOR
元件分类: XO, clock
英文描述: Using the Dallas Phantom Real Time Clocks(实时时钟芯片)
中文描述: 0 TIMER(S), REAL TIME CLOCK, PDIP16
文件页数: 13/13页
文件大小: 64K
代理商: DS1215
APPLICATION NOTE 52
022394 13/13
LI: PUSH ACC ;Save the accumulator.
MOVX A, @DPTR ;Input the data bit.
RRC A ;Move it to carry.
POP ACC ;Get the accumulator.
RRC A ;Save the data bit.
DJNZ B, LI ;Loop for a whole byte.
POP B ;Restore the B register.
POP DPH ;Restore the data
POP DPL ; pointer from stack.
RET ;Return.
;
;
;
;***********************************
;*** SUBROUTINE TO WRITE A DATA BYTE
;***********************************
;
WBYTE: PUSH DPL ;Save the data
PUSH DPH ; pointer on stack.
PUSH B ;Save the B register.
MOV DPTR, #RTCADDR ;Enable the clock.
MOV B, #8 ;Set the bit count.
LO: PUSH ACC ;Save the accumulator.
ANL A, #1 ;Set up bit for output.
MOVX @DPTR, A ;Output the data bit.
POP ACC ;Restore the accumulator.
RR A ;Position next bit.
DJNZ B, LO ;Loop for a whole byte.
POP B ;Restore the B register.
POP DPH ;Restore the data
POP DPL ; pointer from stack.
RET ;Return.
;
;***************
;END OF PROGRAM
;***************
;
END ;End of program.
相关PDF资料
PDF描述
DS1216B SmartWatch/RAM 16K/64K(16K/64K位带实时时钟的掉电保护RAM插座)
DS1216C SmartWatch/RAM 16K/65K(16K/65K位带实时时钟的掉电保护RAM插座)
DS1216D(中文) Using the Dallas Phantom Real Time Clocks(256K/1M位带实时时钟的带掉电保护SRAM插座)
DS1216D Using the Dallas Phantom Real Time Clocks(256K/1M位带实时时钟的带掉电保护SRAM插座)
DS1216E SmartWatch/RAM 16K/66K(16K/66K带实时时钟的ROM或掉电保护RAM插座)
相关代理商/技术参数
参数描述
DS1215G 制造商:未知厂家 制造商全称:未知厂家 功能描述:Peripheral IC
DS1215GN 制造商:未知厂家 制造商全称:未知厂家 功能描述:Peripheral IC
DS-1215ZJ 制造商:Hikvision USA 功能描述:Camera Pole Mount Plate7.64In X 4.61In X 3.94In 制造商:HIKVISION 功能描述:CAMERA POLE MOUNT PLATE 7.64IN X 4.61IN X 3.94IN
DS1216 制造商:MAXIM 制造商全称:Maxim Integrated Products 功能描述:SmartWatch RAM (DS1216B/C/D/H); SmartWatch ROM (DS1216E/F)
DS1216B 功能描述:存储器控制器 SmartWatch RAM RoHS:否 制造商:Maxim Integrated