21.8.10 Clock Value - 12H Format

Note:
  1. This register must be written with a 32-bit write access.
  2. Refer to the Clock/Calendar (Mode 2) section for details on configuring the individual bit fields correctly.
  3. 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 3130292827262524 
 YEAR[5:0]MONTH[3:2] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
 MONTH[1:0]DAY[4:0]INDICATOR 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 HOUR[3:0]MINUTE[5:2] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 MINUTE[1:0]SECOND[5:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 31:26 – YEAR[5:0] Year

This bit field controls the year of the clock value.

Bits 25:22 – MONTH[3:0] Month

This bit field controls the month of the clock value.

ValueNameDescription
0x1JANJanuary
0x2FEBFebruary
0x3MARMarch
0x4APRApril
0x5MAYMay
0x6JUNJune
0x7JULJuly
0x8AUGAugust
0x9SEPSeptember
0xAOCTOctober
0xBNOVNovember
0xCDECDecember
OtherReserved

Bits 21:17 – DAY[4:0] Day

This bit field controls the day of the clock value.

Bit 16 – INDICATOR Meridiem Indicator

This bit field controls the meridiem indicator (AM/PM) of the clock value.
ValueNameDescription
0 AM Before midday (AM)
1 PM After midday (PM)

Bits 15:12 – HOUR[3:0] Hour

This bit field controls the hour of the clock value.

Bits 11:6 – MINUTE[5:0] Minute

This bit field controls the minute of the clock value.

Bits 5:0 – SECOND[5:0] Second

This bit field controls the second of the clock value.