| Electronic Components Datasheet Search |
|
STLED325 Datasheet(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STLED325 Datasheet(HTML) 22 Page - STMicroelectronics |
|
22 / 62 page ![]() Functional description STLED325 22/62 Doc ID 17576 Rev 1 If the RPT value is other than the valid ones listed in the table, the default repeat alarm mode is once per second so as to quickly alert the user of an incorrect alarm setting. When the clock information matches the alarm clock settings based on the match criteria defined by RPT[6:1], then the alarm flag is set. Then if the alarm flag enable bit, is also set, this will activate the alarm interrupt. Interrupt is cleared by reading the Interrupt registers. 3.11.5 Century bits The clock shall include correction for leap years. The clock shall also correct for months fewer than 31 days. Corrections for 28, 29 (leap year –valid until year 2100), 30, 31 day months must be made automatically. The two Century bits increment in a binary fashion at the turn of the century, and handles all leap years correctly. See table for additional explanation. Table 3. Alarm repeat modes RPT5 RPT4 RPT3 RPT2 RPT1 RPT6 Repeat alarm mode 1 1 1 1 1 1 Once per week 1 1 1 1 1 0 Once per second 1 1 1 1 0 0 Once per minute 1 1 1 0 0 0 Once per hour 1 1 0 0 0 0 Once per day 1 0 0 0 0 0 Once per month 00 0 0 0 0 Once per year Table 4. Century bits examples CB[0] CB[1] Leap year? Example (1) 1. Leap year occurs every 4 years (for years evenly divisible by 4), except for years evenly divisible by 100. The only exceptions are those years evenly divisible by 400. (The year 2000 was a leap year, year 2100 is not.) 00 Yes 2000 0 1 No 2100 1 0 No 2200 1 1 No 2300 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |