參數(shù)資料
型號: DS9101
英文描述: RTC iButton
中文描述: 多用途夾子
文件頁數(shù): 4/12頁
文件大小: 72K
代理商: DS9101
DS1904
4 of 12
TIMEKEEPING
A 32.768 kHz crystal oscillator is used as the time base for the real-time clock counter. The oscillator can
be turned on or off under software control. The oscillator must be on for the real time clock to function.
The real-time clock counter is double buffered. This allows the master to read time without the data
changing while it is being read. To accomplish this, a snapshot of the counter data is transferred to a
read/write buffer, which the user accesses.
DEVICE CONTROL BYTE
The on/off control of the 32.768 kHz crystal oscillator is done through the device control byte. This byte
can be read and written through the Clock Function commands.
Device Control Byte
7
U4
U3
6
5
4
3
2
1
0
0
0
U2
U1
OSC
OSC
Bit 0 - 1
Bits 0 and 1 are hard-wired to read all 0’s.
0
No function
Bit 2 - 3
These bits control/report whether the 32.768 kHz crystal oscillator is running. If the oscillator is running,
both OSC bits will read 1. If the oscillator is turned off these bits will all read 0. When writing the device
control byte both occurrences of the OSC bit should have identical data. Otherwise the value in bit ad-
dress 3 (bold) takes precedence.
OSC
Oscillator Enable/Disable
Bit 4 - 7
Un
General-purpose user flags
These non-volatile bits have no particular function within the chip. They can be read and written under
the control of the application software.
REAL-TIME CLOCK
The real-time clock is a 32-bit binary counter. It is incremented once per second. The real-time clock can
accumulate 136 years of seconds before rolling over. Time/date is represented by the number of seconds
since a reference point, which is determined by the user. For example, 12:00 a.m., January 1, 1970 could
be a reference point.
CLOCK FUNCTION COMMANDS
The “Clock Function Flow Chart” (Figure 5) describes the protocols necessary for accessing the real-time
clock. With only four bytes of real-time clock and one control byte the DS1904 does not provide random
access. Reading and writing always starts with the device control byte followed by the least significant
byte of the time data.
相關(guān)PDF資料
PDF描述
DS9097U Universal 1-Wire COM Port Adapter
DS9097U-E25 Universal 1-Wire COM Port Adapter
DS90C032N Line Receiver
DS90C032TMX Line Receiver
DS90C363MTDX Video Link Interface
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DS9101/NO-BRAND 功能描述:iButton配件 RoHS:否 產(chǎn)品:iButton Probes 用于:DS19xx Series 制造商:Maxim Integrated
DS9101+ 功能描述:iButton配件 IButton Multipurpose Clip RoHS:否 產(chǎn)品:iButton Probes 用于:DS19xx Series 制造商:Maxim Integrated
DS9104 制造商:DALLAS 制造商全稱:Dallas Semiconductor 功能描述:Digital Decoder Ring
DS9104-060 制造商:DALLAS 制造商全稱:Dallas Semiconductor 功能描述:Digital Decoder Ring
DS9104-065 制造商:DALLAS 制造商全稱:Dallas Semiconductor 功能描述:Digital Decoder Ring