21.8.10 Clock Value - 12H Format
Note:
- This register must be written with a 32-bit write access.
- Refer to the Clock/Calendar (Mode 2) section for details on configuring the individual bit fields correctly.
- Prior to any read access, this register requires continuous read resynchronization to be enabled by writing the CLOCK Read Resynchronization Enable bit in the Control A register (CTRLA.CLOCKSYNC) to ‘
1’ in order to read valid clock values.
| Name: | CLOCK |
| Offset: | 0x18 |
| Reset: | 0x00000000 |
| Property: | PAC Write-Protection, Write-Synchronized |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| YEAR[5:0] | MONTH[3:2] | ||||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| MONTH[1:0] | DAY[4:0] | INDICATOR | |||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| HOUR[3:0] | MINUTE[5:2] | ||||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| MINUTE[1:0] | SECOND[5:0] | ||||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Bits 31:26 – YEAR[5:0] Year
Bits 25:22 – MONTH[3:0] Month
This bit field controls the month of the clock value.
| Value | Name | Description |
|---|---|---|
| 0x1 | JAN | January |
| 0x2 | FEB | February |
| 0x3 | MAR | March |
| 0x4 | APR | April |
| 0x5 | MAY | May |
| 0x6 | JUN | June |
| 0x7 | JUL | July |
| 0x8 | AUG | August |
| 0x9 | SEP | September |
| 0xA | OCT | October |
| 0xB | NOV | November |
| 0xC | DEC | December |
| Other | — | Reserved |
Bits 21:17 – DAY[4:0] Day
Bit 16 – INDICATOR Meridiem Indicator
| Value | Name | Description |
|---|---|---|
| 0 | AM | Before midday (AM) |
| 1 | PM | After midday (PM) |
