參數(shù)資料
型號(hào): BQ3285LP
英文描述: Real-Time Clock
中文描述: 實(shí)時(shí)時(shí)鐘
文件頁(yè)數(shù): 5/26頁(yè)
文件大小: 831K
代理商: BQ3285LP
Programming the RTC
The time-of-day, alarm, and calendar bytes can be writ-
ten in either theBCD or binary format (seeTable2).
These steps may be followed to program the time, alarm,
and calendar:
1.
Modify the contents of register B:
a.
Write a 1 to the UTI bit to prevent trans-
fers between RTC bytes and user buffer.
b.
Write the appropriate value to the data
format (DF) bit to select BCD or binary
format for all time, alarm, and calendar
bytes.
c.
Write the appropriate value to the hour
format (HF) bit.
2.
Write new values to all the time, alarm, and
calendar locations.
3.
Clear the UTI bit to allow update transfers.
On the next update cycle, the RTC updates all 10 bytes
in theselected format.
5
bq3285EC/LC
Address
RTC Bytes
Range
Decimal
Binary
Binary-Coded
Decimal
0
Seconds
0–59
00H–3BH
00H–59H
1
Seconds alarm
0–59
00H–3BH
00H–59H
2
Minutes
0–59
00H–3BH
00H–59H
3
Minutes alarm
0–59
00H–3BH
00H–59H
4
Hours, 12-hour format
1–12
01H–OCH AM;
81H–8CH PM
01H–12H AM;
81H–92H PM
Hours, 24-hour format
0–23
00H–17H
00H–23H
5
Hours alarm, 12-hour format
1–12
01H–OCH AM;
81H–8CH PM
01H–12H AM;
81H–92H PM
Hours alarm, 24-hour format
0–23
00H–17H
00H–23H
6
Day of week (1=Sunday)
1–7
01H–07H
01H–07H
7
Day of month
1–31
01H–1FH
01H–31H
8
Month
1–12
01H–0CH
01H–12H
9
Year
0–99
00H–63H
00H–99H
Table 2. Time, Alarm, and Calendar Formats
July 1996
相關(guān)PDF資料
PDF描述
BQ3285LQ Real-Time Clock
BQ3285LS Real-Time Clock
BQ3285LSS-N Avalanche Glass Passivated Bridge Rectifiers
BQ3287AMT Avalanche Glass Passivated Bridge Rectifiers
BQ3287EA Avalanche Glass Passivated Bridge Rectifiers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
BQ3285LP- 制造商:TI 制造商全稱:Texas Instruments 功能描述:Real-Time Clock RTC
BQ3285LPN 制造商:TI 制造商全稱:Texas Instruments 功能描述:Real-Time Clock RTC
BQ3285LQ 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Real-Time Clock
BQ3285LQ- 制造商:TI 制造商全稱:Texas Instruments 功能描述:Real-Time Clock RTC
BQ3285LQN 制造商:TI 制造商全稱:Texas Instruments 功能描述:Real-Time Clock RTC