Control B in Clock/Calendar mode
(CTRLA.MODE=2)
|
0x2 |
16 |
PAC Write-Protection,
Enable-Protected |
0x0000 |
|
|
Active Layer Frequency
These bits define the prescaling factor for the RTC clock output
(OUT) used during active layer protection in terms of the
CLK_RTC.
Value | Name | Description |
---|
0x0 |
DIV2 |
CLK_RTC_OUT = CLK_RTC / 2 |
0x1 |
DIV4 |
CLK_RTC_OUT = CLK_RTC / 4 |
0x2 |
DIV8 |
CLK_RTC_OUT = CLK_RTC / 8 |
0x3 |
DIV16 |
CLK_RTC_OUT = CLK_RTC / 16 |
0x4 |
DIV32 |
CLK_RTC_OUT = CLK_RTC / 32 |
0x5 |
DIV64 |
CLK_RTC_OUT = CLK_RTC / 64 |
0x6 |
DIV128 |
CLK_RTC_OUT = CLK_RTC / 128 |
0x7 |
DIV256 |
CLK_RTC_OUT = CLK_RTC / 256 |
Debounce Frequency
These bits define the prescaling factor for the input debouncers in
terms of the CLK_RTC.
Value | Name | Description |
---|
0x0 |
DIV2 |
CLK_RTC_DEB = CLK_RTC / 2 |
0x1 |
DIV4 |
CLK_RTC_DEB = CLK_RTC / 4 |
0x2 |
DIV8 |
CLK_RTC_DEB = CLK_RTC / 8 |
0x3 |
DIV16 |
CLK_RTC_DEB = CLK_RTC / 16 |
0x4 |
DIV32 |
CLK_RTC_DEB = CLK_RTC / 32 |
0x5 |
DIV64 |
CLK_RTC_DEB = CLK_RTC / 64 |
0x6 |
DIV128 |
CLK_RTC_DEB = CLK_RTC / 128 |
0x7 |
DIV256 |
CLK_RTC_DEB = CLK_RTC / 256 |
DMA Enable
The RTC can trigger a DMA request when the timestamp is ready in
the TIMESTAMP register.
Value | Description |
---|
0 |
Tamper DMA request is disabled. Reading TIMESTAMP has
no effect on INTFLAG.TAMPER. |
1 |
Tamper DMA request is enabled. Reading TIMESTAMP will
clear INTFLAG.TAMPER. |
Debouncer Asynchronous Enable
Value | Description |
---|
0 |
The tamper input debouncers operate
synchronously. |
1 |
The tamper input debouncers operate
asynchronously. |
Debouncer Majority Enable
Value | Description |
---|
0 |
The tamper input debouncers match three equal
values. |
1 |
The tamper input debouncers match majority two of
three values. |