SLAU846A June 2023 – October 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1
Table 26-4 lists the memory-mapped registers for the RTC registers. All register offset addresses not listed in Table 26-4 should be considered as reserved locations and the register contents should not be modified.
Complex bit access types are encoded to fit into small table cells. Table 26-5 shows the codes that are used for access types in this section.
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
R-0 | R -0 | Read Returns 0s |
Write Type | ||
W | W | Write |
WK | W K | Write Write protected by a key |
Reset or Default Value | ||
-n | Value after reset or the default value |
FPUB_0 is shown in Figure 26-3 and described in Table 26-6.
Return to the Summary Table.
Publisher port
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||||||||||
R/W-0h | |||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | CHANID | ||||||||||||||
R/W-0h | R/W-0h | ||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-4 | RESERVED | R/W | 0h | |
3-0 | CHANID | R/W | 0h | 0 = disconnected. 1-15 = connected to channelID = CHANID. 0h = A value of 0 specifies that the event is not connected Fh = Consult your device data sheet as the actual allowed maximum may be less than 15. |
PWREN is shown in Figure 26-4 and described in Table 26-7.
Return to the Summary Table.
Register to control the power state
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
KEY | |||||||
R-0/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | ENABLE | ||||||
R/W-0h | R/WK-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | R-0/W | 0h | KEY to allow Power State Change
26h = KEY to allow write access to this register |
23-1 | RESERVED | R/W | 0h | |
0 | ENABLE | R/WK | 0h | Enable the power KEY must be set to 26h to write to this bit. 0h = Disable Power 1h = Enable Power |
RSTCTL is shown in Figure 26-5 and described in Table 26-8.
Return to the Summary Table.
Register to control reset assertion and de-assertion
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
KEY | |||||||
W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESETSTKYCLR | RESETASSERT | |||||
W-0h | WK-0h | WK-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | W | 0h | Unlock key
B1h = KEY to allow write access to this register |
23-2 | RESERVED | W | 0h | |
1 | RESETSTKYCLR | WK | 0h | Clear the RESETSTKY bit in the STAT register KEY must be set to B1h to write to this bit. 0h = Writing 0 has no effect 1h = Clear reset sticky bit |
0 | RESETASSERT | WK | 0h | Assert reset to the peripheral KEY must be set to B1h to write to this bit. 0h = Writing 0 has no effect 1h = Assert reset |
CLKCFG is shown in Figure 26-6 and described in Table 26-9.
Return to the Summary Table.
Peripheral Clock Configuration Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
KEY | |||||||
R-0/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | BLOCKASYNC | ||||||
R/W-0h | R/WK-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
R/W-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | R-0/W | 0h | KEY to Allow State Change -- 0xA9
A9h (W) = key value to allow change field of GPRCM |
23-9 | RESERVED | R/W | 0h | |
8 | BLOCKASYNC | R/WK | 0h | Async Clock Request is blocked from starting SYSOSC or forcing bus clock to 32MHz KEY must be set to A9h to write to this bit. 0h = Not block async clock request 1h = Block async clock request |
7-0 | RESERVED | R/W | 0h |
STAT is shown in Figure 26-7 and described in Table 26-10.
Return to the Summary Table.
peripheral enable and reset status
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R- | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | RESETSTKY | ||||||
R- | R-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R- | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
R- | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-17 | RESERVED | R | 0h | |
16 | RESETSTKY | R | 0h | This bit indicates, if the peripheral was reset, since this bit was cleared by RESETSTKYCLR in the RSTCTL register
0h = The peripheral has not been reset since this bit was last cleared by RESETSTKYCLR in the RSTCTL register 1h = The peripheral was reset since the last bit clear |
15-0 | RESERVED | R | 0h |
CLKSEL is shown in Figure 26-8 and described in Table 26-11.
Return to the Summary Table.
Clock source selection for ULP peripherals
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R- | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R- | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R- | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | LFCLK_SEL | RESERVED | |||||
R- | R-1h | R- | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-2 | RESERVED | R | 0h | |
1 | LFCLK_SEL | R | 1h | Selects LFCLK as clock source if enabled
0h = LFCLK is disabled as clock source 1h = LFCLK is enabled as clock source |
0 | RESERVED | R | 0h |
IIDX is shown in Figure 26-9 and described in Table 26-12.
Return to the Summary Table.
This register provides the highest priority enabled interrupt index. Value 0x00 means no event pending. Interrupt 1 is the highest priority, IIDX next highest, 4, 8, … IIDX^31 is the least priority. That is, the least bit position that is set to 1 denotes the highest priority pending interrupt. The priority order is fixed. However, users can implement their own prioritization schemes using other registers that expose the full set of interrupts that have occurred.
On each read, only one interrupt is indicated. On a read, the current interrupt (highest priority) is automatically cleared by the hardware and the corresponding interrupt flag in [RIS] and [MIS] are cleared as well. After a read from the CPU (not from the debug interface), the register is updated with the next highest priority interrupt, if none are pending, then it should display 0x0.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | STAT | ||||||||||||||||||||||||||||||
R-0h | R-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-8 | RESERVED | R | 0h | |
7-0 | STAT | R | 0h | Interrupt index status
00h = No interrupt pending 1h = RTC-Ready interrupt; Interrupt flag: RTCRDY 2h = Time-Event interrupt; Interrupt flag: RTCTEV 3h = Alarm-1 interrupt; Interrupt flag: RTCA1 4h = Alarm-2 interrupt; Interrupt flag: RTCA2 5h = Prescaler-0 interrupt; Interrupt flag: RT0PS 6h = Prescaler-1 interrupt; Interrupt flag: RT1PS |
IMASK is shown in Figure 26-10 and described in Table 26-13.
Return to the Summary Table.
Interrupt Mask. If a bit is set, then corresponding interrupt is unmasked. Unmasking the interrupt causes the raw interrupt to be visible in IIDX, as well as MIS.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RT1PS | RT0PS | RTCA2 | RTCA1 | RTCTEV | RTCRDY | |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | R/W | 0h | |
5 | RT1PS | R/W | 0h | Enable Prescaler-1 interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
4 | RT0PS | R/W | 0h | Enable Prescaler-0 interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
3 | RTCA2 | R/W | 0h | Enable Alarm-2 interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
2 | RTCA1 | R/W | 0h | Enable Alarm-1 interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
1 | RTCTEV | R/W | 0h | Enable Time-Event interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
0 | RTCRDY | R/W | 0h | Enable RTC-Ready interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
RIS is shown in Figure 26-11 and described in Table 26-14.
Return to the Summary Table.
Raw interrupt status. Reflects all pending interrupts, regardless of masking. The RIS register allows the user to implement a poll scheme. A flag set in this register can be cleared by writing 1 to the ICLR register bit even if the corresponding IMASK bit is not enabled.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RT1PS | RT0PS | RTCA2 | RTCA1 | RTCTEV | RTCRDY | |
R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | R | 0h | |
5 | RT1PS | R | 0h | Raw Prescaler-1 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
4 | RT0PS | R | 0h | Raw Prescaler-0 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
3 | RTCA2 | R | 0h | Raw Alarm-2 interrupts status 0h = Interrupt did not occur 1h = Interrupt occurred |
2 | RTCA1 | R | 0h | Raw Alarm-1 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
1 | RTCTEV | R | 0h | Raw Time-Event interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
0 | RTCRDY | R | 0h | Raw RTC-Ready interrupts status 0h = Interrupt did not occur 1h = Interrupt occurred |
MIS is shown in Figure 26-12 and described in Table 26-15.
Return to the Summary Table.
Masked interrupt status. This is an AND of the IMASK and RIS registers.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RT1PS | RT0PS | RTCA2 | RTCA1 | RTCTEV | RTCRDY | |
R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | R | 0h | |
5 | RT1PS | R | 0h | Masked Prescaler-1 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
4 | RT0PS | R | 0h | Masked Prescaler-0 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
3 | RTCA2 | R | 0h | Masked Alarm-2 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
2 | RTCA1 | R | 0h | Masked Alarm-1 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
1 | RTCTEV | R | 0h | Masked Time-Event interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
0 | RTCRDY | R | 0h | Masked RTC-Ready interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
ISET is shown in Figure 26-13 and described in Table 26-16.
Return to the Summary Table.
Interrupt set. Allows interrupts to be set by software (useful in diagnostics and safety checks). Writing a 1 to a bit in ISET will set the event and therefore the related RIS bit also gets set. If the interrupt is enabled through the mask, then the corresponding MIS bit is also set.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RT1PS | RT0PS | RTCA2 | RTCA1 | RTCTEV | RTCRDY | |
W-0h | W-0h | W-0h | W-0h | W-0h | W-0h | W-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | W | 0h | |
5 | RT1PS | W | 0h | Set Prescaler-1 interrupt
0h = Writing 0 has no effect 1h = Set Interrupt |
4 | RT0PS | W | 0h | Set Prescaler-0 interrupt
0h = Writing 0 has no effect 1h = Set Interrupt |
3 | RTCA2 | W | 0h | Set Alarm-2 interrupt
0h = Writing 0 has no effect 1h = Set Interrupt |
2 | RTCA1 | W | 0h | Set Alarm-1 interrupt
0h = Writing 0 has no effect 1h = Set Interrupt |
1 | RTCTEV | W | 0h | Set Time-Event interrupt
0h = Writing 0 has no effect 1h = Set Interrupt |
0 | RTCRDY | W | 0h | Set RTC-Ready interrupt
0h = Writing 0 has no effect 1h = Set Interrupt |
ICLR is shown in Figure 26-14 and described in Table 26-17.
Return to the Summary Table.
Interrupt clear. Write a 1 to clear corresponding Interrupt.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RT1PS | RT0PS | RTCA2 | RTCA1 | RTCTEV | RTCRDY | |
W-0h | W-0h | W-0h | W-0h | W-0h | W-0h | W-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | W | 0h | |
5 | RT1PS | W | 0h | Clear Prescaler-1 interrupt
0h = Writing 0 has no effect 1h = Clear Interrupt |
4 | RT0PS | W | 0h | Clear Prescaler-0 interrupt
0h = Writing 0 has no effect 1h = Clear Interrupt |
3 | RTCA2 | W | 0h | Clear Alarm-2 interrupt
0h = Writing 0 has no effect 1h = Clear Interrupt |
2 | RTCA1 | W | 0h | Clear Alarm-1 interrupt
0h = Writing 0 has no effect 1h = Clear Interrupt |
1 | RTCTEV | W | 0h | Clear Time-Event interrupt
0h = Writing 0 has no effect 1h = Clear Interrupt |
0 | RTCRDY | W | 0h | Clear RTC-Ready interrupt
0h = Writing 0 has no effect 1h = Clear Interrupt |
IIDX is shown in Figure 26-15 and described in Table 26-18.
Return to the Summary Table.
This register provides the highest priority enabled interrupt index. Value 0x00 means no event pending. Interrupt 1 is the highest priority, IIDX next highest, 4, 8, … IIDX^31 is the least priority. That is, the least bit position that is set to 1 denotes the highest priority pending interrupt. The priority order is fixed. However, users can implement their own prioritization schemes using other registers that expose the full set of interrupts that have occurred.
On each read, only one interrupt is indicated. On a read, the current interrupt (highest priority) is automatically cleared by the hardware and the corresponding interrupt flag in [RIS] and [MIS] are cleared as well. After a read from the CPU (not from the debug interface), the register is updated with the next highest priority interrupt, if none are pending, then it should display 0x0.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | STAT | ||||||||||||||||||||||||||||||
R-0h | R-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-8 | RESERVED | R | 0h | |
7-0 | STAT | R | 0h | Interrupt index status
00h = No interrupt pending 1h = RTC-Ready interrupt; Interrupt flag: RTCRDY 2h = Time-Event interrupt; Interrupt flag: RTCTEV 3h = Alarm-1 interrupt; Interrupt flag: RTCA1 4h = Alarm-2 interrupt; Interrupt flag: RTCA2 5h = Prescaler-0 interrupt; Interrupt flag: RT0PS 6h = Prescaler-1 interrupt; Interrupt flag: RT1PS |
IMASK is shown in Figure 26-16 and described in Table 26-19.
Return to the Summary Table.
Interrupt Mask. If a bit is set, then corresponding interrupt is unmasked. Unmasking the interrupt causes the raw interrupt to be visible in IIDX, as well as MIS.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RT1PS | RT0PS | RTCA2 | RTCA1 | RTCTEV | RTCRDY | |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | R/W | 0h | |
5 | RT1PS | R/W | 0h | Enable Prescaler-1 interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
4 | RT0PS | R/W | 0h | Enable Prescaler-0 interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
3 | RTCA2 | R/W | 0h | Enable Alarm-2 interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
2 | RTCA1 | R/W | 0h | Enable Alarm-1 interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
1 | RTCTEV | R/W | 0h | Enable Time-Event interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
0 | RTCRDY | R/W | 0h | Enable RTC-Ready interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
RIS is shown in Figure 26-17 and described in Table 26-20.
Return to the Summary Table.
Raw interrupt status. Reflects all pending interrupts, regardless of masking. The RIS register allows the user to implement a poll scheme. A flag set in this register can be cleared by writing 1 to the ICLR register bit even if the corresponding IMASK bit is not enabled.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RT1PS | RT0PS | RTCA2 | RTCA1 | RTCTEV | RTCRDY | |
R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | R | 0h | |
5 | RT1PS | R | 0h | Raw Prescaler-1 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
4 | RT0PS | R | 0h | Raw Prescaler-0 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
3 | RTCA2 | R | 0h | Raw Alarm-2 interrupts status 0h = Interrupt did not occur 1h = Interrupt occurred |
2 | RTCA1 | R | 0h | Raw Alarm-1 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
1 | RTCTEV | R | 0h | Raw Time-Event interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
0 | RTCRDY | R | 0h | Raw RTC-Ready interrupts status 0h = Interrupt did not occur 1h = Interrupt occurred |
MIS is shown in Figure 26-18 and described in Table 26-21.
Return to the Summary Table.
Masked interrupt status. This is an AND of the IMASK and RIS registers.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RT1PS | RT0PS | RTCA2 | RTCA1 | RTCTEV | RTCRDY | |
R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | R | 0h | |
5 | RT1PS | R | 0h | Masked Prescaler-1 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
4 | RT0PS | R | 0h | Masked Prescaler-0 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
3 | RTCA2 | R | 0h | Masked Alarm-2 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
2 | RTCA1 | R | 0h | Masked Alarm-1 interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
1 | RTCTEV | R | 0h | Masked Time-Event interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
0 | RTCRDY | R | 0h | Masked RTC-Ready interrupt status 0h = Interrupt did not occur 1h = Interrupt occurred |
ISET is shown in Figure 26-19 and described in Table 26-22.
Return to the Summary Table.
Interrupt set. Allows interrupts to be set by software (useful in diagnostics and safety checks). Writing a 1 to a bit in ISET will set the event and therefore the related RIS bit also gets set. If the interrupt is enabled through the mask, then the corresponding MIS bit is also set.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RT1PS | RT0PS | RTCA2 | RTCA1 | RTCTEV | RTCRDY | |
W-0h | W-0h | W-0h | W-0h | W-0h | W-0h | W-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | W | 0h | |
5 | RT1PS | W | 0h | Set Prescaler-1 interrupt
0h = Writing 0 has no effect 1h = Set Interrupt |
4 | RT0PS | W | 0h | Set Prescaler-0 interrupt
0h = Writing 0 has no effect 1h = Set Interrupt |
3 | RTCA2 | W | 0h | Set Alarm-2 interrupt
0h = Writing 0 has no effect 1h = Set Interrupt |
2 | RTCA1 | W | 0h | Set Alarm-1 interrupt
0h = Writing 0 has no effect 1h = Set Interrupt |
1 | RTCTEV | W | 0h | Set Time-Event interrupt
0h = Writing 0 has no effect 1h = Set Interrupt |
0 | RTCRDY | W | 0h | Set RTC-Ready interrupt
0h = Writing 0 has no effect 1h = Set Interrupt |
ICLR is shown in Figure 26-20 and described in Table 26-23.
Return to the Summary Table.
Interrupt clear. Write a 1 to clear corresponding Interrupt.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RT1PS | RT0PS | RTCA2 | RTCA1 | RTCTEV | RTCRDY | |
W-0h | W-0h | W-0h | W-0h | W-0h | W-0h | W-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | W | 0h | |
5 | RT1PS | W | 0h | Clear Prescaler-1 interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
4 | RT0PS | W | 0h | Clear Prescaler-0 interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
3 | RTCA2 | W | 0h | Clear Alarm-2 interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
2 | RTCA1 | W | 0h | Clear Alarm-1 interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
1 | RTCTEV | W | 0h | Clear Time-Event interrupt 0h = Clear Interrupt Mask 1h = Set Interrupt Mask |
0 | RTCRDY | W | 0h | Clear RTC-Ready interrupt
0h = Clear Interrupt Mask 1h = Clear Interrupt |
EVT_MODE is shown in Figure 26-21 and described in Table 26-24.
Return to the Summary Table.
Event mode register. It is used to select whether each line is disabled, in software mode (software clears the RIS) or in hardware mode (hardware clears the RIS)
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W- | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W- | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R/W- | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EVT1_CFG | EVT0_CFG | |||||
R/W- | R-2h | R-1h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-4 | RESERVED | R/W | 0h | |
3-2 | EVT1_CFG | R | 2h | Event line mode 1 select
0h = The interrupt or event line is disabled. 1h = The interrupt or event line is in software mode. The software ISR clears the associated RIS flag. 2h = The interrupt or event line is in hardware mode. The hardware (another module) clears automatically the associated RIS flag. |
1-0 | EVT0_CFG | R | 1h | Event line mode 0 select
0h = The interrupt or event line is disabled. 1h = The interrupt or event line is in software mode. The software ISR clears the associated RIS flag. 2h = The interrupt or event line is in hardware mode. The hardware (another module) clears automatically the associated RIS flag. |
DESC is shown in Figure 26-22 and described in Table 26-25.
Return to the Summary Table.
RTC Descriptor Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
MODULEID | |||||||||||||||
R-911h | |||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FEATUREVER | INSTNUM | MAJREV | MINREV | ||||||||||||
R-8h | R-0h | R-1h | R-0h | ||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | MODULEID | R | 911h | Module identifier. This ID is unique for each module. 0x0911 = Module ID of the RTC Module
0000h = Minimum value FFFFh = Maximum value |
15-12 | FEATUREVER | R | 8h | Feature set of this module. Differentiates the complexity of the actually instantiated module if there are differences.
0h = Minimum value Fh = Maximum value |
11-8 | INSTNUM | R | 0h | Instantiated version. Describes which instance of the module accessed.
0h = This is the default, if there is only one instance - like for SSIM |
7-4 | MAJREV | R | 1h | Major revision. This number holds the module revision and is incremented by the module developers. n = Major version (see device-specific data sheet)
0h = Minimum value Fh = Maximum value |
3-0 | MINREV | R | 0h | Minor revision. This number holds the module revision and is incremented by the module developers. n = Minor module revision (see device-specific data sheet)
0h = Minimum value Fh = Maximum value |
CLKCTL is shown in Figure 26-23 and described in Table 26-26.
Return to the Summary Table.
RTC Clock Control Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
MODCLKEN | RESERVED | ||||||
R/W-0h | R/W-0h | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
R/W-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | MODCLKEN | R/W | 0h | This bit enables the supply of the 32kHz clock to the RTC. It will not power-up the 32kHz crystal oscillator this needs to be done in the Clock System Module.
0h = 32kHz clock is not supplied to the RTC. 1h = 32kHz clock is supplied to the RTC. |
30-0 | RESERVED | R/W | 0h |
DBGCTL is shown in Figure 26-24 and described in Table 26-27.
Return to the Summary Table.
RTC Module Debug Control Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DBGINT | DBGRUN | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-2 | RESERVED | R/W | 0h | |
1 | DBGINT | R/W | 0h | Debug Interrupt Enable.
0h = Interrupts of the module will not be captured anymore if CPU is in debug state. Which means no update to the RTCRIS, RTCMISC and RTCIIDX register. 1h = Interrupts are enabled in debug mode. Interrupt requests are signaled to the interrupt controller. If the flags are required by software (polling mode) the DGBINT bit need to be set to 1. |
0 | DBGRUN | R/W | 0h | Debug Run.
0h = Counter is halted if CPU is in debug state. 1h = Continue to operate normally ignoring the debug state of the CPU. |
CTL is shown in Figure 26-25 and described in Table 26-28.
Return to the Summary Table.
RTC Control Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RTCBCD | RESERVED | RTCTEVTX | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-8 | RESERVED | R/W | 0h | |
7 | RTCBCD | R/W | 0h | Real-time clock BCD select. Selects BCD counting for real-time clock.
0h = Binary code selected 1h = Binary coded decimal (BCD) code selected |
6-2 | RESERVED | R/W | 0h | |
1-0 | RTCTEVTX | R/W | 0h | Real-time clock time event.
0h = Minute changed. 1h = Hour changed. 2h = Every day at midnight (00:00). 3h = Every day at noon (12:00). |
STA is shown in Figure 26-26 and described in Table 26-29.
Return to the Summary Table.
RTC Status Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RTCTCOK | RTCTCRDY | RTCRDY | ||||
R-0h | R-0h | R-0h | R-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-3 | RESERVED | R | 0h | |
2 | RTCTCOK | R | 0h | Real-time clock temperature compensation write OK. This is a read-only bit that indicates if the write to RTCTCMP is successful or not.
0h = Write to RTCTCMPx is unsuccessful 1h = Write to RTCTCMPx is successful |
1 | RTCTCRDY | R | 0h | Real-time clock temperature compensation ready. This is a read only bit that indicates when the RTCTCMPx can be written. Write to RTCTCMPx should be avoided when RTCTCRDY is reset.
0h = Real-time clock temperature compensation not ready 1h = Real-time clock temperature compensation ready |
0 | RTCRDY | R | 0h | Real-time clock ready. This bit indicates when the real-time clock time values are safe for reading.
0h = RTC time values in transition 1h = RTC time values safe for reading |
CAL is shown in Figure 26-27 and described in Table 26-30.
Return to the Summary Table.
RTC Clock Offset Calibration Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | RTCCALFX | ||||||
R/W-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RTCOCALS | RESERVED | ||||||
R/W-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RTCOCALX | |||||||
R/W-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-18 | RESERVED | R/W | 0h | |
17-16 | RTCCALFX | R/W | 0h | Real-time clock calibration frequency. Selects frequency output to RTC_OUT pin for calibration measurement. The corresponding port must be configured for the peripheral module function.
0h = No frequency output to RTC_OUT pin 1h = 512 Hz 2h = 256 Hz 3h = 1 Hz |
15 | RTCOCALS | R/W | 0h | Real-time clock offset error calibration sign. This bit decides the sign of offset error calibration.
0h = Down calibration. Frequency adjusted down. 1h = Up calibration. Frequency adjusted up. |
14-8 | RESERVED | R/W | 0h | |
7-0 | RTCOCALX | R/W | 0h | Real-time clock offset error calibration. Each LSB represents approximately +1ppm (RTCOCALXS = 1) or -1ppm (RTCOCALXS = 0) adjustment in frequency. Maximum effective calibration value is +/-240ppm. Excess values written above +/-240ppm will be ignored by hardware.
0h = Minimum effective calibration value. FFh = Maximum effective calibration value is +/-240ppm. Excess values written above +/-240ppm will be ignored by hardware. |
TCMP is shown in Figure 26-28 and described in Table 26-31.
Return to the Summary Table.
RTC Temperature Compensation Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RTCTCMPS | RESERVED | ||||||
R/W-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RTCTCMPX | |||||||
R/W-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R/W | 0h | |
15 | RTCTCMPS | R/W | 0h | Real-time clock temperature compensation sign. This bit decides the sign of temperature compensation.
0h = Down calibration. Frequency adjusted down. 1h = Up calibration. Frequency adjusted up. |
14-8 | RESERVED | R/W | 0h | |
7-0 | RTCTCMPX | R/W | 0h | Real-time clock temperature compensation. Value written into this register is used for temperature compensation of RTC. Each LSB represents approximately +1ppm (RTCTCMPS = 1) or -1ppm (RTCTCMPS = 0) adjustment in frequency. Maximum effective calibration value is +/-240ppm. Excess values written above +/-240ppm are ignored by hardware. Reading from RTCTCMP register at any time returns the cumulative value which is the signed addition of RTCOCALx and RTCTCMPX values, and the updated sign bit (RTCTCMPS) of the addition result.
00h = Minimum value FFh = Maximum value |
SEC is shown in Figure 26-29 and described in Table 26-32.
Return to the Summary Table.
RTC Seconds Register - Calendar Mode With Binary / BCD Format
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | SECHIGHBCD | SECLOWBCD | |||||
R/W-0h | R/W-X | R/W-X | |||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | SECBIN | ||||||
R/W-0h | R/W-X | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-15 | RESERVED | R/W | 0h | |
14-12 | SECHIGHBCD | R/W | X | Seconds BCD – high digit (0 to 5). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 5h = Maximum value |
11-8 | SECLOWBCD | R/W | X | Seconds BCD – low digit (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 9h = Maximum value |
7-6 | RESERVED | R/W | 0h | |
5-0 | SECBIN | R/W | X | Seconds Binary (0 to 59). If RTCBCD=1 write to these bits will be ignored and read give the value 0.
00h = Minimum value 3Bh = Maximum value |
MIN is shown in Figure 26-30 and described in Table 26-33.
Return to the Summary Table.
RTC Minutes Register - Calendar Mode With Binary / BCD Format
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MINHIGHBCD | MINLOWBCD | |||||
R/W-0h | R/W-X | R/W-X | |||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | MINBIN | ||||||
R/W-0h | R/W-X | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-15 | RESERVED | R/W | 0h | |
14-12 | MINHIGHBCD | R/W | X | Minutes BCD – high digit (0 to 5). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 5h = Maximum value |
11-8 | MINLOWBCD | R/W | X | Minutes BCD – low digit (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 9h = Maximum value |
7-6 | RESERVED | R/W | 0h | |
5-0 | MINBIN | R/W | X | Minutes Binary (0 to 59). If RTCBCD=1 write to these bits will be ignored and read give the value 0.
00h = Minimum value 3Bh = Maximum value |
HOUR is shown in Figure 26-31 and described in Table 26-34.
Return to the Summary Table.
RTC Hours Register - Calendar Mode With Binary / BCD Format
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | HOURHIGHBCD | HOURLOWBCD | |||||
R/W-0h | R/W-X | R/W-X | |||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | HOURBIN | ||||||
R/W-0h | R/W-X | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-14 | RESERVED | R/W | 0h | |
13-12 | HOURHIGHBCD | R/W | X | Hours BCD – high digit (0 to 2). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value. 2h = Maximum value. |
11-8 | HOURLOWBCD | R/W | X | Hours BCD – low digit (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value. 9h = Maximum value. |
7-5 | RESERVED | R/W | 0h | |
4-0 | HOURBIN | R/W | X | Hours Binary (0 to 23). If RTCBCD=1 write to these bits will be ignored and read give the value 0.
00h = Minimum value. 17h = Maximum value. |
DAY is shown in Figure 26-32 and described in Table 26-35.
Return to the Summary Table.
RTC Day of Week/Month Register - Calendar Mode With Binary / BCD Format
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | DOMHIGHBCD | DOMLOWBCD | |||||
R/W-0h | R/W-X | R/W-X | |||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | DOMBIN | ||||||
R/W-0h | R/W-X | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DOW | ||||||
R/W-0h | R/W-X | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-22 | RESERVED | R/W | 0h | |
21-20 | DOMHIGHBCD | R/W | X | Day of month BCD – high digit (0 to 3). If RTCBCD=0 write to these bits will be ignored and read give the value 0. 0h = Minimum value 3h = Maximum value |
19-16 | DOMLOWBCD | R/W | X | Day of month BCD – low digit (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0. 0h = Minimum value 9h = Maximum value |
15-13 | RESERVED | R/W | 0h | |
12-8 | DOMBIN | R/W | X | Day of month Binary (1 to 28, 29, 30, 31). If RTCBCD=1 write to these bits will be ignored and read give the value 0. 00h = Minimum value 1Fh = Maximum value |
7-3 | RESERVED | R/W | 0h | |
2-0 | DOW | R/W | X | Day of week (0 to 6). These bits are valid if RTCBCD=1 or RTCBCD=0. 0h = Minimum value 6h = Maximum value |
MON is shown in Figure 26-33 and described in Table 26-36.
Return to the Summary Table.
RTC Month Register - Calendar Mode With Binary / BCD Format
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MONHIGHBCD | MONLOWBCD | |||||
R/W-0h | R/W-X | R/W-X | |||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | MONBIN | ||||||
R/W-0h | R/W-X | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-13 | RESERVED | R/W | 0h | |
12 | MONHIGHBCD | R/W | X | Month BCD – high digit (0 or 1). If RTCBCD=0 write to these bits will be ignored and read give the value 0. 0h = Minimum value 1h = Maximum value |
11-8 | MONLOWBCD | R/W | X | Month BCD – low digit (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0. 0h = Minimum value 9h = Maximum value |
7-4 | RESERVED | R/W | 0h | |
3-0 | MONBIN | R/W | X | Month Binary (1 to 12). If RTCBCD=1 write to these bits will be ignored and read give the value 0. 0h = Minimum value Ch = Maximum value |
YEAR is shown in Figure 26-34 and described in Table 26-37.
Return to the Summary Table.
RTC Year Register - Calendar Mode With Binary / BCD Format
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | CENTHIGHBCD | CENTLOWBCD | |||||
R/W-0h | R/W-X | R/W-X | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
DECADEBCD | YEARLOWESTBCD | ||||||
R/W-X | R/W-X | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | YEARHIGHBIN | ||||||
R/W-0h | R/W-X | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
YEARLOWBIN | |||||||
R/W-X | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | |
30-28 | CENTHIGHBCD | R/W | X | Century BCD – high digit (0 to 4). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 4h = Maximum value |
27-24 | CENTLOWBCD | R/W | X | Century BCD – low digit (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 9h = Maximum value |
23-20 | DECADEBCD | R/W | X | Decade BCD (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 9h = Maximum value |
19-16 | YEARLOWESTBCD | R/W | X | Year BCD – lowest digit (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 9h = Maximum value |
15-12 | RESERVED | R/W | 0h | |
11-8 | YEARHIGHBIN | R/W | X | Year Binary – high byte. Valid values for Year are 0 to 4095. If RTCBCD=1 write to these bits will be ignored and read give the value 0.
0h = Minimum value Fh = Maximum value |
7-0 | YEARLOWBIN | R/W | X | Year Binary – low byte. Valid values for Year are 0 to 4095. If RTCBCD=1 write to these bits will be ignored and read give the value 0.
00h = Minimum value FFh = Maximum value |
A1MIN is shown in Figure 26-35 and described in Table 26-38.
Return to the Summary Table.
RTC Minutes Alarm Register - Calendar Mode With Binary / BCD Format
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
AMINAEBCD | AMINHIGHBCD | AMINLOWBCD | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AMINAEBIN | RESERVED | AMINBIN | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R/W | 0h | |
15 | AMINAEBCD | R/W | 0h | Alarm Minutes BCD enable. If RTCBCD=0 this bit is always 0. Write to this bit will be ignored.
0h = Alarm disabled 1h = Alarm enabled |
14-12 | AMINHIGHBCD | R/W | 0h | Alarm Minutes BCD – high digit (0 to 5). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 5h = Maximum value |
11-8 | AMINLOWBCD | R/W | 0h | Alarm Minutes BCD – low digit (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 9h = Maximum value |
7 | AMINAEBIN | R/W | 0h | Alarm Minutes Binary enable. If RTCBCD=1 this bit is always 0. Write to this bit will be ignored.
0h = Alarm disabled 1h = Alarm enabled |
6 | RESERVED | R/W | 0h | |
5-0 | AMINBIN | R/W | 0h | Alarm Minutes Binary (0 to 59). If RTCBCD=1 write to these bits will be ignored and read give the value 0.
00h = Minimum value 3Bh = Maximum value |
A1HOUR is shown in Figure 26-36 and described in Table 26-39.
Return to the Summary Table.
RTC Hours Alarm Register - Calendar Mode With Binary / BCD Format
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
AHOURAEBCD | RESERVED | AHOURHIGHBCD | AHOURLOWBCD | ||||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AHOURAEBIN | RESERVED | AHOURBIN | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R/W | 0h | |
15 | AHOURAEBCD | R/W | 0h | Alarm Hours BCD enable. If RTCBCD=0 this bit is always 0. Write to this bit will be ignored.
0h = Alarm disabled 1h = Alarm enabled |
14 | RESERVED | R/W | 0h | |
13-12 | AHOURHIGHBCD | R/W | 0h | Alarm Hours BCD – high digit (0 to 2). If RTCBCD=0 write to these bits will be ignored and read give the value 0..
0h = Minimum value 2h = Maximum value |
11-8 | AHOURLOWBCD | R/W | 0h | Alarm Hours BCD – low digit (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 9h = Maximum value |
7 | AHOURAEBIN | R/W | 0h | Alarm Hours Binary enable. If RTCBCD=1 this bit is always 0. Write to this bit will be ignored.
0h = Alarm disabled 1h = Alarm enabled |
6-5 | RESERVED | R/W | 0h | |
4-0 | AHOURBIN | R/W | 0h | Alarm Hours Binary (0 to 23). If RTCBCD=1 write to these bits will be ignored and read give the value 0.
00h = Minimum value 17h = Maximum value |
A1DAY is shown in Figure 26-37 and described in Table 26-40.
Return to the Summary Table.
RTC Alarm Day Of Week / Month Register - Calendar Mode With Binary / BCD Format
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
ADOMAEBCD | RESERVED | ADOMHIGHBCD | ADOMLOWBCD | ||||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
ADOMAEBIN | RESERVED | ADOMBIN | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADOWAE | RESERVED | ADOW | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | RESERVED | R/W | 0h | |
23 | ADOMAEBCD | R/W | 0h | Alarm Day of month BCD enable. If RTCBCD=0 this bit is always 0. Write to this bit will be ignored.
0h = Alarm disabled 1h = Alarm enabled |
22 | RESERVED | R/W | 0h | |
21-20 | ADOMHIGHBCD | R/W | 0h | Alarm Day of month BCD – high digit (0 to 3). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 3h = Maximum value |
19-16 | ADOMLOWBCD | R/W | 0h | Alarm Day of month BCD – low digit (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 9h = Maximum value |
15 | ADOMAEBIN | R/W | 0h | Alarm Day of month Binary enable. If RTCBCD=1 this bit is always 0. Write to this bit will be ignored.
0h = Alarm disabled 1h = Alarm enabled |
14-13 | RESERVED | R/W | 0h | |
12-8 | ADOMBIN | R/W | 0h | Alarm Day of month Binary (1 to 28, 29, 30, 31) If RTCBCD=1 write to these bits will be ignored and read give the value 0.
00h = Minimum value 1Fh = Maximum value |
7 | ADOWAE | R/W | 0h | Alarm Day of week enable. This bit are valid if RTCBCD=1 or RTCBCD=0.
0h = Alarm disabled 1h = Alarm enabled |
6-3 | RESERVED | R/W | 0h | |
2-0 | ADOW | R/W | 0h | Alarm Day of week (0 to 6). These bits are valid if RTCBCD=1 or RTCBCD=0.
0h = Minimum value 6h = Maximum value |
A2MIN is shown in Figure 26-38 and described in Table 26-41.
Return to the Summary Table.
RTC Minutes Alarm Register - Calendar Mode With Binary / BCD Format
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
AMINAEBCD | AMINHIGHBCD | AMINLOWBCD | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AMINAEBIN | RESERVED | AMINBIN | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R/W | 0h | |
15 | AMINAEBCD | R/W | 0h | Alarm Minutes BCD enable. If RTCBCD=0 this bit is always 0. Write to this bit will be ignored.
0h = Alarm disabled 1h = Alarm enabled |
14-12 | AMINHIGHBCD | R/W | 0h | Alarm Minutes BCD – high digit (0 to 5). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 5h = Maximum value |
11-8 | AMINLOWBCD | R/W | 0h | Alarm Minutes BCD – low digit (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 9h = Maximum value |
7 | AMINAEBIN | R/W | 0h | Alarm Minutes Binary enable. If RTCBCD=1 this bit is always 0. Write to this bit will be ignored.
0h = Alarm disabled 1h = Alarm enabled |
6 | RESERVED | R/W | 0h | |
5-0 | AMINBIN | R/W | 0h | Alarm Minutes Binary (0 to 59). If RTCBCD=1 write to these bits will be ignored and read give the value 0.
00h = Minimum value 3Bh = Maximum value |
A2HOUR is shown in Figure 26-39 and described in Table 26-42.
Return to the Summary Table.
RTC Hours Alarm Register - Calendar Mode With Binary / BCD Format
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
AHOURAEBCD | RESERVED | AHOURHIGHBCD | AHOURLOWBCD | ||||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AHOURAEBIN | RESERVED | AHOURBIN | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R/W | 0h | |
15 | AHOURAEBCD | R/W | 0h | Alarm Hours BCD enable. If RTCBCD=0 this bit is always 0. Write to this bit will be ignored.
0h = Alarm disabled 1h = Alarm enabled |
14 | RESERVED | R/W | 0h | |
13-12 | AHOURHIGHBCD | R/W | 0h | Alarm Hours BCD – high digit (0 to 2). If RTCBCD=0 write to these bits will be ignored and read give the value 0..
0h = Minimum value 2h = Maximum value |
11-8 | AHOURLOWBCD | R/W | 0h | Alarm Hours BCD – low digit (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 9h = Maximum value |
7 | AHOURAEBIN | R/W | 0h | Alarm Hours Binary enable. If RTCBCD=1 this bit is always 0. Write to this bit will be ignored.
0h = Alarm disabled 1h = Alarm enabled |
6-5 | RESERVED | R/W | 0h | |
4-0 | AHOURBIN | R/W | 0h | Alarm Hours Binary (0 to 23). If RTCBCD=1 write to these bits will be ignored and read give the value 0.
00h = Minimum value 17h = Maximum value |
A2DAY is shown in Figure 26-40 and described in Table 26-43.
Return to the Summary Table.
RTC Alarm Day Of Week / Month Register - Calendar Mode With Binary / BCD Format
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
ADOMAEBCD | RESERVED | ADOMHIGHBCD | ADOMLOWBCD | ||||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
ADOMAEBIN | RESERVED | ADOMBIN | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADOWAE | RESERVED | ADOW | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | RESERVED | R/W | 0h | |
23 | ADOMAEBCD | R/W | 0h | Alarm Day of month BCD enable. If RTCBCD=0 this bit is always 0. Write to this bit will be ignored.
0h = Alarm disabled 1h = Alarm enabled |
22 | RESERVED | R/W | 0h | |
21-20 | ADOMHIGHBCD | R/W | 0h | Alarm Day of month BCD – high digit (0 to 3). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 3h = Maximum value |
19-16 | ADOMLOWBCD | R/W | 0h | Alarm Day of month BCD – low digit (0 to 9). If RTCBCD=0 write to these bits will be ignored and read give the value 0.
0h = Minimum value 9h = Maximum value |
15 | ADOMAEBIN | R/W | 0h | Alarm Day of month Binary enable. If RTCBCD=1 this bit is always 0. Write to this bit will be ignored.
0h = Alarm disabled 1h = Alarm enabled |
14-13 | RESERVED | R/W | 0h | |
12-8 | ADOMBIN | R/W | 0h | Alarm Day of month Binary (1 to 28, 29, 30, 31) If RTCBCD=1 write to these bits will be ignored and read give the value 0.
00h = Minimum value 1Fh = Maximum value |
7 | ADOWAE | R/W | 0h | Alarm Day of week enable. This bit are valid if RTCBCD=1 or RTCBCD=0.
0h = Alarm disabled 1h = Alarm enabled |
6-3 | RESERVED | R/W | 0h | |
2-0 | ADOW | R/W | 0h | Alarm Day of week (0 to 6). These bits are valid if RTCBCD=1 or RTCBCD=0.
0h = Minimum value 6h = Maximum value |
PSCTL is shown in Figure 26-41 and described in Table 26-44.
Return to the Summary Table.
RTC Prescale Timer 0/1 Control Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R/W-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | RT1IP | RESERVED | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RT0IP | RESERVED | |||||
R/W-0h | R/W-2h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-21 | RESERVED | R/W | 0h | |
20-18 | RT1IP | R/W | 0h | Prescale timer 1 interrupt interval
0h = Divide by 2 - 15.6 millisecond interval 1h = Divide by 4 - 31.2 millisecond interval 2h = Divide by 8 - 62.5 millisecond interval 3h = Divide by 16 - 125 millisecond interval 4h = Divide by 32 - 250 millisecond interval 5h = Divide by 64 - 500 millisecond interval 6h = Divide by 128 - 1 second interval 7h = Divide by 256 - 2 second interval |
17-5 | RESERVED | R/W | 0h | |
4-2 | RT0IP | R/W | 2h | Prescale timer 0 interrupt interval
2h = Divide by 8 - 244 microsecond interval 3h = Divide by 16 - 488 microsecond interval 4h = Divide by 32 - 976 microsecond interval 5h = Divide by 64 - 1.95 millisecond interval 6h = Divide by 128 - 3.90 millisecond interval 7h = Divide by 256 - 7.81 millisecond interval |
1-0 | RESERVED | R/W | 0h |