參數(shù)資料
型號: BQ3285LCS
英文描述: Real-Time Clock
中文描述: 實時時鐘
文件頁數(shù): 5/26頁
文件大?。?/td> 831K
代理商: BQ3285LCS
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描述
BQ3285LP Real-Time Clock
BQ3285LQ Real-Time Clock
BQ3285LS Real-Time Clock
BQ3285LSS-N Avalanche Glass Passivated Bridge Rectifiers
BQ3287AMT Avalanche Glass Passivated Bridge Rectifiers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
BQ3285LCSS- 制造商:TI 制造商全稱:Texas Instruments 功能描述:Real-Time Clock (RTC)
BQ3285LD 制造商:TI 制造商全稱:Texas Instruments 功能描述:Real-Time Clock (RTC)
BQ3285LDSS 功能描述:實時時鐘 W/242x8 NVSRAM RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 總線接口:I2C 日期格式:DW:DM:M:Y 時間格式:HH:MM:SS RTC 存儲容量:64 B 電源電壓-最大:5.5 V 電源電壓-最小:1.8 V 最大工作溫度:+ 85 C 最小工作溫度: 安裝風格:Through Hole 封裝 / 箱體:PDIP-8 封裝:Tube
BQ3285LDSSG4 功能描述:實時時鐘 W/242x8 NVSRAM RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 總線接口:I2C 日期格式:DW:DM:M:Y 時間格式:HH:MM:SS RTC 存儲容量:64 B 電源電壓-最大:5.5 V 電源電壓-最小:1.8 V 最大工作溫度:+ 85 C 最小工作溫度: 安裝風格:Through Hole 封裝 / 箱體:PDIP-8 封裝:Tube
BQ3285LDSSTR 功能描述:實時時鐘 W/242x8 NVSRAM RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 總線接口:I2C 日期格式:DW:DM:M:Y 時間格式:HH:MM:SS RTC 存儲容量:64 B 電源電壓-最大:5.5 V 電源電壓-最小:1.8 V 最大工作溫度:+ 85 C 最小工作溫度: 安裝風格:Through Hole 封裝 / 箱體:PDIP-8 封裝:Tube