| Electronic Components Datasheet Search |
|
WM8350 Datasheet(PDF) 192 Page - Wolfson Microelectronics plc |
|
|
|||||||||||||||||||||||||||||
WM8350 Datasheet(HTML) 192 Page - Wolfson Microelectronics plc |
|
192 / 340 page ![]() WM8350 Production Data w PD, February 2011, Rev 4.4 192 22 REAL-TIME CLOCK (RTC) 22.1 GENERAL DESCRIPTION The WM8350 contains a Real Time Clock (RTC), which maintains the current date and time, and also has the capability to generate alarms and periodic interrupt signals. The RTC is powered by the backup supply (VRTC), in order that it can keep running when the normal power sources are unavailable. The RTC uses the 32.768kHz clock generated by the on-chip crystal oscillator. To compensate for errors in this clock frequency, the RTC includes a frequency trim option. Alternatively the RTC can be clocked from external 32.768kHz input on a GPIO pin configured as 32kHz input. See Section 12.2 for details of the 32kHz oscillator control. 22.2 RTC CONTROL 22.2.1 MODES OF OPERATION The Real Time Clock is enabled when RTC_TICK_ENA is set to 1. (This is the default setting.) See Table 135 for the definition of this RTC_TICK_ENA. The RTC can operate as a 24-hour clock or else as a 12-hour clock with a separate AM/PM flag bit. The RTC time register fields can be treated as BCD (binary-coded decimal) or as binary data formats. These options are selected as described in Table 130. ADDRESS BIT LABEL DEFAULT DESCRIPTION R23 (17h) RTC Time control 15 RTC_BCD 0 RTC Coding (applies to all time registers) 0 = Binary 1 = BCD 14 RTC_12HR 0 RTC 12/24 hours mode 1 = 12 hours (MSB of RTC_HRS indicates AM/PM) 0 = 24 hours (MSB of RTC_HRS is 0) Table 130 RTC Modes of Operation 22.2.2 RTC TIME REGISTERS The current time and date are held in registers R16 to R19, as described in Table 131. ADDRESS BIT LABEL DEFAULT DESCRIPTION R16 (10h) RTC sec / min 14:8 RTC_MINS [6:0] 000 0000 RTC Minutes; 0 to 59 6:0 RTC_SECS [6:0] 000 0000 RTC Seconds; 0 to 59 R17 (11h) RTC hour / day 10:8 RTC_DAY [2:0] 1 RTC Day of the week; 1 to 7, 1 = Sunday 5 RTC_HPM 0 RTC Hours AM/PM flag 0 = AM 1 = PM Only valid in 12hour mode. 4:0 RTC_HRS [4:0] 0 0000 Hours register with 0-23 range in 24hour mode and 1-12 in 12 hour mode. R18 (12h) RTC date 12:8 RTC_MTH [5:0] 0_0001 Month register with range 1-12. 5:0 RTC_DATE [5:0] 00_0001 Date register with range 1-31. R19 (13h) RTC year 13:8 RTC_YHUNDRED S [6:0] 01_0100 Year hundreds register tied to 20(dec) 7:0 RTC_YUNITS [7:0] 0000_0000 Year units register with range 0-99. Table 131 RTC Time Registers |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | 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 |