| 数据搜索系统,热门电子元器件搜索 |
|
STLED325 数据表(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STLED325 数据表(HTML) 20 Page - STMicroelectronics |
|
20 / 62 page ![]() Functional description STLED325 20/62 Doc ID 17576 Rev 1 3.11.2 Writing to the real time clock The time and date may be set by writing to the RTC registers. The new RTC time can be updated by writing to the RTC registers. The new time only takes affect after a complete write cycle. If the write cycle is incomplete, the new time value is discarded. A single byte may be written to the RTC without affecting the other bytes. 3.11.3 Register table for RTC Legend: Cal_Sign = Sign bit OSC_ST = Oscillator Stop bit BMB0 – BMB4 = watchdog multiplier bits CB = Century bits ABE = Alarm in battery back up mode enable bit AFE = Alarm flag enable RB0 – RB2 = watchdog resolution bits RPT1 – RPT6 = alarm repeat mode bits Table 2. Register table for RTC Addr D7 D6 D5 D4 D3 D2 D1 D0 Functional/range BCD format 00h Reserved Reserved 01h OSC_S T 10 seconds Seconds Seconds 00-59 02h Rsvd 10 minutes Minutes Minutes 00-59 03h MD_HM_MS 10 hours Hours (24 hours format) Hours 00-23 04h Rsvd Rsvd Rsvd Rsvd Rsvd Day of week Day 01-7 05h Rsvd Rsvd 10 date Day of month Date 01-31 06h CB1 CB0 Rsvd 10M Month Century/month 0-3/01-12 07h 10 years Year Year 00-99 08h 12/24 Rsvd Cal_sig n Calibration Calibration 09h RB2 BMB4 BMB3 BMB2 BMB1 BMB0 RB1 RB0 Watchdog 0Ah AFE Rsvd ABE AI 10M Alarm month Al month 01-12 0Bh RPT4 RPT5 AI 10 date Alarm date Al date 01-31 0Ch RPT3 RPT6 AI 10 hour AIarm hour AI hour 00-23 0Dh RPT2 Alarm 10 minutes Alarm minutes Al min 00-59 0Eh RPT1 Alarm 10 seconds Alarm seconds Al sec 00-59 0Fh WDFEn Alarm: day of week Rsvd (bypass mode) Flags |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |