SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
Address Offset | 0x0000 0000 | ||
Physical Address | 0x4883 8000 | Instance | RTC_SS |
Description | Used to program the required seconds value of the current time. Seconds are stored in BCD format, the decimal numbers are encoded with their binary equivalent. That is, if seconds value is 45, then SEC0 = 5 and SEC1 = 4. | ||
Type | RW |
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 | SEC1 | SEC0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:7 | RESERVED | Reserved | R | 0x0 |
6:4 | SEC1 | Second digit of seconds. Range is 0 to 5 | RW | 0x0 |
3:0 | SEC0 | First digit of seconds. Range is 0 to 9 | RW | 0x0 |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 0004 | ||
Physical Address | 0x4883 8004 | Instance | RTC_SS |
Description | Used to program the required minutes value of the current time. Minutes are stored in BCD format, the decimal numbers are encoded with their binary equivalent. That is, if minutes value is 32, then MIN0 = 2 and MIN1 = 3. | ||
Type | RW |
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 | MIN1 | MIN0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:7 | RESERVED | Reserved | R | 0x0 |
6:4 | MIN1 | Second digit of minutes Range is 0 to 5 | RW | 0x0 |
3:0 | MIN0 | First digit of minutes Range is 0 to 9 | RW | 0x0 |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 0008 | ||
Physical Address | 0x4883 8008 | Instance | RTC_SS |
Description | Used to program the hours value of the current time. Hours are stored in BCD format, the decimal numbers are encoded with their binary equivalent. That is, if hour is 18, then HOUR0 = 8 and HOUR1 = 1. | ||
Type | RW |
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 | PM_NAM | RESERVED | HOUR1 | HOUR0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Reserved | R | 0x0 |
7 | PM_NAM | Only used in PM_AM mode (otherwise 0) 0 = AM 1 = PM | RW | 0x0 |
6 | RESERVED | Reserved | R | 0x0 |
5:4 | HOUR1 | Second digit of hours Range is 0 to 2 | RW | 0x0 |
3:0 | HOUR0 | First digit of hours Range is 0 to 9 | RW | 0x0 |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 000C | ||
Physical Address | 0x4883 800C | Instance | RTC_SS |
Description | Used to program the day of the month value of the current date. Days are stored as BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary equivalent. If the day value of the date is 28, DAY0 is set as 8 and DAY1 is set as 2. | ||
Type | RW |
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 | DAY1 | DAY0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:6 | RESERVED | Reserved | R | 0x0 |
5:4 | DAY1 | Second digit of days Range from 0 to 3 | RW | 0x0 |
3:0 | DAY0 | First digit of days Range from 0 to 9 | RW | 0x1 |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 0010 | ||
Physical Address | 0x4883 8010 | Instance | RTC_SS |
Description | MONTHS_REG is used to set the month in the year value of the current date. Months are stored as BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary equivalent. | ||
Type | RW |
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 | MONTH1 | MONTH0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:5 | RESERVED | Reserved | R | 0x0 |
4 | MONTH1 | Second digit of months Range from 0 to 1 | RW | 0x0 |
3:0 | MONTH0 | First digit of months Range from 0 to 9 | RW | 0x1 |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 0014 | ||
Physical Address | 0x4883 8014 | Instance | RTC_SS |
Description | YEARS_REG is used to program the year value of the current date. The year value is represented by only the last two digits and is stored as BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary equivalent. The year 1979 is programmed as 79 with YEAR0 set as 9 and YEAR1 set as 7. | ||
Type | RW |
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 | YEAR1 | YEAR0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Reserved | R | 0x0 |
7:4 | YEAR1 | Second digit of Years Range from 0 to 9 | RW | 0x0 |
3:0 | YEAR0 | First digit of Years Range from 0 to 9 | RW | 0x0 |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 0018 | ||
Physical Address | 0x4883 8018 | Instance | RTC_SS |
Description | WEEKS_REG is used to program the day of the week value of the current date. The day of the week is stored as BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary equivalent. | ||
Type | RW |
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 | WEEK |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:3 | RESERVED | Reserved | R | 0x0 |
2:0 | WEEK | First digit of Days in a week Range from 0 (Sunday) to 6 (Saturday) | RW | 0x0 |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 0020 | ||
Physical Address | 0x4883 8020 | Instance | RTC_SS |
Description | ALARM_SECONDS_REG is used to program the seconds value for the alarm interrupt. Seconds are stored as BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary equivalent. | ||
Type | RW |
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 | ALARM_SEC1 | ALARM_SEC0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:7 | RESERVED | Reserved | R | 0x0 |
6:4 | ALARM_SEC1 | Second digit of seconds Range is 0 to 5 | RW | 0x0 |
3:0 | ALARM_SEC0 | First digit of seconds Range is 0 to 9 | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0024 | ||
Physical Address | 0x4883 8024 | Instance | RTC_SS |
Description | ALARM_MINUTES_REG is used to program the minute value for the alarm interrupt. Minutes are stored as BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary equivalent. | ||
Type | RW |
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 | ALARM_MIN1 | ALARM_MIN0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:7 | RESERVED | Reserved | R | 0x0 |
6:4 | ALARM_MIN1 | Second digit of minutes Range is 0 to 5 | RW | 0x0 |
3:0 | ALARM_MIN0 | First digit of minutes Range is 0 to 9 | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0028 | ||
Physical Address | 0x4883 8028 | Instance | RTC_SS |
Description | ALARM_HOURS_REG is used to program the hour value for the alarm interrupt. Hours are stored as BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary equivalent. | ||
Type | RW |
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 | ALARM_PM_NAM | RESERVED | ALARM_HOUR1 | ALARM_HOUR0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Reserved | R | 0x0 |
7 | ALARM_PM_NAM | Only used in PM_AM mode (otherwise 0) 0 = AM 1 = PM | RW | 0x0 |
6 | RESERVED | Reserved | R | 0x0 |
5:4 | ALARM_HOUR1 | Second digit of hours. Range is 0 to 2 | RW | 0x0 |
3:0 | ALARM_HOUR0 | First digit of hours. Range is 0 to 9 | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 002C | ||
Physical Address | 0x4883 802C | Instance | RTC_SS |
Description | ALARM_DAYS_REG is used to program the day of the month value for the alarm interrupt. Days are stored as BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary equivalent. | ||
Type | RW |
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 | ALARM_DAY1 | ALARM_DAY0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:6 | RESERVED | Reserved | R | 0x0 |
5:4 | ALARM_DAY1 | Second digit for days. Range from 0 to 3 | RW | 0x0 |
3:0 | ALARM_DAY0 | First digit for days. Range from 0 to 9 | RW | 0x1 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0030 | ||
Physical Address | 0x4883 8030 | Instance | RTC_SS |
Description | ALARM_MONTHS_REG is used to program the month in the year value for the alarm interrupt. The month is stored as BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary equivalent | ||
Type | RW |
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 | ALARM_MONTH1 | ALARM_MONTH0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:5 | RESERVED | Reserved | R | 0x0 |
4 | ALARM_MONTH1 | Second digit of months. Range from 0 to 1 | RW | 0x0 |
3:0 | ALARM_MONTH0 | First digit of months. Range from 0 to 9 | RW | 0x1 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0034 | ||
Physical Address | 0x4883 8034 | Instance | RTC_SS |
Description | ALARM_YEARS_REG is used to program the year for the alarm interrupt. Only the last two digits are used to represent the year and is stored as BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary equivalent | ||
Type | RW |
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 | ALARM_YEAR1 | ALARM_YEAR0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Reserved | R | 0x0 |
7:4 | ALARM_YEAR1 | Second digit of years. Range from 0 to 9 | RW | 0x0 |
3:0 | ALARM_YEAR0 | First digit of years. Range from 0 to 9 | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0040 | ||
Physical Address | 0x4883 8040 | Instance | RTC_SS |
Description | CTRL_REG contains the controls to enable/disable RTC. | ||
Type | RW |
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 | RTC_DISABLE | SET_32_COUNTER | TEST_MODE | MODE_12_24 | AUTO_COMP | ROUND_30S | STOP_RTC |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:7 | RESERVED | Reserved | R | 0x0 |
6 | RTC_DISABLE | 0: RTC enable 1: RTC disable (no 32-kHz clock) | RW | 0x0 |
5 | SET_32_COUNTER | 0: No action 1: Set the 32-kHz counter with comp_reg value | RW | 0x0 |
4 | TEST_MODE | 0: Functional mode 1: Test mode (Auto compensation is enabled when the 32-kHz counter reaches its end.) | RW | 0x0 |
3 | MODE_12_24 | 0: 24-hour mode 1: 12-hour mode (PM-AM mode) | RW | 0x0 |
2 | AUTO_COMP | 0: No auto compensation 1: Auto compensation enabled | RW | 0x0 |
1 | ROUND_30S | 0: No update 1: When a 1 is written, the time is rounded to the closest minute. | RW | 0x0 |
0 | STOP_RTC | 0: RTC is frozen. 1: RTC is running. | RW | 0x0 |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 0044 | ||
Physical Address | 0x4883 8044 | Instance | RTC_SS |
Description | RTC STATUS_REG contains bits that signal the status of interrupts, events to the processor. Status for the alarm interrupt and timer events are notified by the register. | ||
Type | RW |
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 | ALARM2 | ALARM | EVENT_1D | EVENT_1H | EVENT_1M | EVENT_1S | RUN | BUSY |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Reserved | R | 0x0 |
7 | ALARM2 | Indicates that an alarm2 interrupt has been generated. Software must wait 31 µs before it clears this status to allow PMIC_PWR_ENABLE 1 - 0 transmission. | RW | 0x0 |
6 | ALARM | Indicates that an alarm interrupt has been generated. Writing 1 to the bit clears the interrupt. | RW | 0x0 |
5 | EVENT_1D | One day has occurred. | R | 0x0 |
4 | EVENT_1H | One hour has occurred. | R | 0x0 |
3 | EVENT_1M | One minute has occurred. | R | 0x0 |
2 | EVENT_1S | One second has occurred. | R | 0x0 |
1 | RUN | 0: RTC is frozen. 1: RTC is running. | R | 0x0 |
0 | BUSY | 0: Updating event in more than 15 µs. 1: Updating event. This bit will give the status of RTC module. The time and alarm registers can be modified only when this bit is 0. | R | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0048 | ||
Physical Address | 0x4883 8048 | Instance | RTC_SS |
Description | INTERRUPTS_REG is used to enable or disable RTC from generating interrupts. The timer interrupt and alarm interrupt can be controlled using this register. | ||
Type | RW |
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 | IT_ALARM2 | IT_ALARM | IT_TIMER | EVERY |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:5 | RESERVED | Reserved | R | 0x0 |
4 | IT_ALARM2 | Enable one interrupt when the alarm value is reached (TC ALARM2 registers) by the TC registers | RW | 0x0 |
3 | IT_ALARM | Enable one interrupt when the alarm value is reached (TC ALARM registers) by the TC registers | RW | 0x0 |
2 | IT_TIMER | Enable periodic interrupt 0 = interrupt disabled 1 = interrupt enabled | RW | 0x0 |
1:0 | EVERY | Interrupt period: 0 - every second 1 - every minute 2 - every hour 3 - every day | RW | 0x0 |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 004C | ||
Physical Address | 0x4883 804C | Instance | RTC_SS |
Description | COMP_LSB_REG is used to program the LSB value of the 32-kHz periods to be added to the 32-kHz counter every hour. This is used to compensate the oscillator drift. The COMP_LSB_REG works with the compensation (MSB) register (COMP_MSB_REG). The AUTOCOMP bit in the control register (CTRL_REG) must be enabled for compensation to OCCUR. | ||
Type | RW |
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 | RTC_COMP_LSB |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Reserved | R | 0x0 |
7:0 | RTC_COMP_LSB | Indicates number of 32-kHz periods to be added into the 32-kHz counter every hour. | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0050 | ||
Physical Address | 0x4883 8050 | Instance | RTC_SS |
Description | COMP_MSB_REG is used to program the MSB value of the 32-kHz periods to be added to the 32-kHz counter every hour. This is used to compensate the oscillator drift. The COMP_MSB_REG works with the compensation (LSB) register (COMP_LSB_REG) to set the hourly oscillator compensation value. The AUTOCOMP bit in the control register (CTRL_REG) must be enabled for compensation to OCCUR. | ||
Type | RW |
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 | RTC_COMP_MSB |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Reserved | R | 0x0 |
7:0 | RTC_COMP_MSB | Indicates number of 32-kHz periods to be added into the 32-kHz counter every hour | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0054 | ||
Physical Address | 0x4883 8054 | Instance | RTC_SS |
Description | OSC_REG is used to program the oscillator resistance value, and to select and enable the clock source. | ||
Type | RW |
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 | K32CLK_EN | RESERVED | OSC32K_GZ | K32CLK_SEL | RES_SELECT | SW2 | SW1 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:7 | RESERVED | Reserved | R | 0x0 |
6 | K32CLK_EN | 32-kHz clock enable post clock mux of RTC_32K_AUX_CLK and RTC_32K_CLK. | RW | 0x0 |
5 | RESERVED | Reserved | R | 0x0 |
4 | OSC32K_GZ | Disable the oscillator and applies high impedance to the output. 0: Enable 1: Disabled and high impedance | RW | 0x1 |
3 | K32CLK_SEL | 32-kHz clock source select. 0: Selects internal clock source, namely RTC_32K_AUX_CLK, from PRCM. 1: Selects external clock source namely RTC_32K_CLK, from the 32-kHz Oscillator. | RW | 0x0 |
2 | RES_SELECT | External feedback resistor selection. 0: Internal 1: External | RW | 0x0 |
1 | SW2 | Inverter size adjustment. | RW | 0x0 |
0 | SW1 | Inverter size adjustment. | RW | 0x0 |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 0060 | ||
Physical Address | 0x4883 8060 | Instance | RTC_SS |
Description | Used to hold some required values for the RTC register. | ||
Type | RW |
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 |
RTCSCRATCH0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | RTCSCRATCH0 | Scratch registers, available to program. | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0064 | ||
Physical Address | 0x4883 8064 | Instance | RTC_SS |
Description | Used to hold some required values for the RTC register. | ||
Type | RW |
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 |
RTCSCRATCH1 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | RTCSCRATCH1 | Scratch registers, available to program | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0068 | ||
Physical Address | 0x4883 8068 | Instance | RTC_SS |
Description | Used to hold some required values for the RTC register. | ||
Type | RW |
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 |
RTCSCRATCH2 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | RTCSCRATCH2 | Scratch registers, available to program. | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 006C | ||
Physical Address | 0x4883 806C | Instance | RTC_SS |
Description | The KICK0 register allows writing to unlock the kick0 data. To disable RTC register write protection, the value of 83E7 0B13h must be written to KICK0, followed by the value of 95A4 F1E0h written to KICK1. RTC register write protection is enabled when any value is written to KICK0 | ||
Type | W |
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 |
KICK0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | KICK0 | Kick0 data. | W | 0x0 |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 0070 | ||
Physical Address | 0x4883 8070 | Instance | RTC_SS |
Description | Kick1 data. The KICK1 register allows writing to unlock the kick1 data and the kicker mechanism to write to other registers. To disable RTC register write protection, the value of 83E7 0B13h must be written to KICK0, followed by the value of 95A4 F1E0h written to KICK1. | ||
Type | W |
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 |
KICK1 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | KICK1 | Kick1 data. | W | 0x0 |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 0074 | ||
Physical Address | 0x4883 8074 | Instance | RTC_SS |
Description | |||
Type | R |
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 |
REVISION |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:0 | REVISION | IP Revision | R | 0x- |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0078 | ||
Physical Address | 0x4883 8078 | Instance | RTC_SS |
Description | |||
Type | RW |
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 | IDLEMODE |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:2 | RESERVED | Reserved | R | 0x0 |
1:0 | IDLEMODE | Configuration of the local target state management mode, By definition target can handle read/write transaction as long as it is out of IDLE state. | RW | 0x2 |
0x0: Force-idle mode: local target's idle state follows (acknowledges) the system's idle requests unconditionally, i.e., regardless of the IP module's internal requirements; Backup mode, for debug only. | ||||
0x1: No-idle mode: local target never enters idle state, Backup mode, for debug only. | ||||
0x2: Smart-idle mode: local target's state eventually follows (acknowledges) the system's idle requests, depending on the IP module's internal requirements, IP module shall not generate (IRQ- or DMArequest- related) wakeup events. | ||||
0x3: Smart-idle wakeup-capable mode: local target's idle state eventually follows (acknowledges the system's idle requests, depending on the IP module's internal requirements, IP module may generate (IRQ- or DMA-request-related) wakeup events when in idle state, Mode is only relevant if the appropriate IP module "swakeup" output(s) is (are) implemented. |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 007C | ||
Physical Address | 0x4883 807C | Instance | RTC_SS |
Description | |||
Type | RW |
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 | ALARM_WAKEEN | TIMMER_WAKEEN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:2 | RESERVED | Reserved | RW | 0x0 |
1 | ALARM_WAKEEN | Wakeup generation for event Alarm 0: Wakeup disabled 1: Wakeup enable | RW | 0x0 |
0 | TIMMER_WAKEEN | Wakeup generation for event Timer 0: Wakeup disabled 1: Wakeup enable Timer wakeup should not get used. | RW | 0x0 |
RTC Functional Description |
RTC Low-Level Programming Guide |
RTC Register Manual |
Address Offset | 0x0000 0080 | ||
Physical Address | 0x4883 8080 | Instance | RTC_SS |
Description | ALARM2_SECONDS_REG is used to program the seconds value of the ALARM2 time | ||
Type | RW |
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 | ALARM2_SEC1 | ALARM2_SEC0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:7 | RESERVED | Reserved | R | 0x0 |
6:4 | ALARM2_SEC1 | Second digit of seconds Range is 0 to 5 | RW | 0x0 |
3:0 | ALARM2_SEC0 | First digit of seconds Range is 0 to 9 | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0084 | ||
Physical Address | 0x4883 8084 | Instance | RTC_SS |
Description | |||
Type | RW |
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 | ALARM2_MIN1 | ALARM2_MIN0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:7 | RESERVED | Reserved | R | 0x0 |
6:4 | ALARM2_MIN1 | Second digit of minutes Range is 0 to 5 | RW | 0x0 |
3:0 | ALARM2_MIN0 | First digit of minutes Range is 0 to 9 | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0088 | ||
Physical Address | 0x4883 8088 | Instance | RTC_SS |
Description | |||
Type | RW |
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 | ALARM2_PM_NAM | RESERVED | ALARM2_HOUR1 | ALARM2_HOUR0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Reserved | R | 0x0 |
7 | ALARM2_PM_NAM | Only used in PM_AM mode (otherwise 0) 0 = AM 1 = PM | RW | 0x0 |
6 | RESERVED | Reserved | R | 0x0 |
5:4 | ALARM2_HOUR1 | Second digit of hours Range is 0 to 2 | RW | 0x0 |
3:0 | ALARM2_HOUR0 | First digit of hours Range is 0 to 9 | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 008C | ||
Physical Address | 0x4883 808C | Instance | RTC_SS |
Description | |||
Type | RW |
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 | ALARM_DAY1 | ALARM_DAY0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:6 | RESERVED | Reserved | R | 0x0 |
5:4 | ALARM_DAY1 | Second digit for days Range from 0 to 3 | RW | 0x0 |
3:0 | ALARM_DAY0 | First digit for days Range from 0 to 9 | RW | 0x1 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0090 | ||
Physical Address | 0x4883 8090 | Instance | RTC_SS |
Description | |||
Type | RW |
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 | ALARM2_MONTH1 | ALARM2_MONTH0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:5 | RESERVED | Reserved | R | 0x0 |
4 | ALARM2_MONTH1 | Second digit of months Range from 0 to 1 | RW | 0x0 |
3:0 | ALARM2_MONTH0 | First digit of months Range from 0 to 9 | RW | 0x1 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0094 | ||
Physical Address | 0x4883 8094 | Instance | RTC_SS |
Description | |||
Type | RW |
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 | ALARM2_YEAR1 | ALARM2_YEAR0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Reserved | R | 0x0 |
7:4 | ALARM2_YEAR1 | Second digit of Years Range from 0 to 9 | RW | 0x0 |
3:0 | ALARM2_YEAR0 | First digit of Years Range from 0 to 9 | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 0098 | ||
Physical Address | 0x4883 8098 | Instance | RTC_SS |
Description | |||
Type | RW |
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 | EXT_WAKEUP_POL_HL | PWR_ENABLE_SM | PWR_ENABLE_EN | EXT_WAKEUP_STATUS | EXT_WAKEUP_DB_EN | EXT_WAKEUP_POL | EXT_WAKEUP_EN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:23 | RESERVED | Reserved | RW | 0x0 |
22:19 | EXT_WAKEUP_POL_HL | External wakeup inputs polarity enable for Active High and Active Low 0: Disabled 1: Enabled, Active High and Active Low EXT_WAKEUP_POL_HL[0] controls ext_wakeup0; EXT_WAKEUP_POL_HL[N] controls ext_wakeup n ; Note when enabled EXT_WAKEUP_POL_HL overrides EXT_WAKEUP_POL 1 | RW | 0x0 |
18:17 | PWR_ENABLE_SM | Power State Machine state 00 = Idle/Default 01 = Shutdown (ALARM2 and pwr_enable enable is set, note 31uS latency from ALARM2 event.) 10 = Time based wakeup (ALARM status is set) 11 = External event based wakeup (one or more bit set in EXT_WAKEUP_STATUS) | RW | 0x0 |
16 | PWR_ENABLE_EN | pwr_enable enable 0: Disable When Disabled, PMIC_PWR_ENABLE will always be drive 1, ON state 1: Enable When enabled: PMIC_PWR_ENABLE will be controlled by ext_wakeup 3:0 , alarm , and alarm2. ON - OFF (Turn OFF) By ALARM2 event OFF - ON (TURN ON) By ALARM event OR ext_wakeup n event 1 | RW | 0x0 |
15:12 | EXT_WAKEUP_STATUS | External wakeup status 0: External wakeup event has not occurred 1: External wakeup event has occurred Wrt 1 to Clear EXT_WAKEUP_STATUS[0] status of ext_wakeup0 event EXT_WAKEUP_STATUS[N] status of ext_wakeup n event. SW must clear the events before PMIC_PWR_ENABLE can go from 1 - 0. 1 | RW | 0x0 |
11:8 | EXT_WAKEUP_DB_EN | External wakeup debounce enabled 0: Disable 1: Enable EXT_WAKEUP_DB_EN[0] controls ext_wakeup0; EXT_WAKEUP_DB_EN[N] controls ext_wakeup n ; When enabled RTL_DEBOUNCE_REG defines the debounce time. 1 | RW | 0x0 |
7:4 | EXT_WAKEUP_POL | External wakeup inputs polarity 0: Active High 1: Active Low EXT_WAKEUP_POL[0] controls ext_wakeup0; EXT_WAKEUP_POL[N] controls ext_wakeup n ; 1 | RW | 0x0 |
3:0 | EXT_WAKEUP_EN | Enable External wakeup inputs 0: Ext Wakeup disabled 1: Ext Wakeup enable EXT_WAKEUP_EN[0] controls ext_wakeup0; EXT_WAKEUP_EN[N] controls ext_wakeup n ; 1 | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |
Address Offset | 0x0000 009C | ||
Physical Address | 0x4883 809C | Instance | RTC_SS |
Description | |||
Type | RW |
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 | DEBOUNCE_REG |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:8 | RESERVED | Reserved | RW | 0x0 |
7:0 | DEBOUNCE_REG | Debounce time, see Section 23.4.5 for details. | RW | 0x0 |
RTC Functional Description |
RTC Register Manual |