Datasheet

DocID15962 Rev 13 43/131
STM8L151xx, STM8L152xx Memory and register map
56
0x00 5140
RTC
RTC_TR1 Time register 1 0x00
0x00 5141 RTC_TR2 Time register 2 0x00
0x00 5142 RTC_TR3 Time register 3 0x00
0x00 5143 Reserved area (1 byte)
0x00 5144 RTC_DR1 Date register 1 0x01
0x00 5145 RTC_DR2 Date register 2 0x21
0x00 5146 RTC_DR3 Date register 3 0x00
0x00 5147 Reserved area (1 byte)
0x00 5148 RTC_CR1 Control register 1 0x00
0x00 5149 RTC_CR2 Control register 2 0x00
0x00 514A RTC_CR3 Control register 3 0x00
0x00 514B Reserved area (1 byte)
0x00 514C RTC_ISR1 Initialization and status register 1 0x00
0x00 514D RTC_ISR2 Initialization and Status register 2 0x00
0x00 514E
0x00 514F
Reserved area (2 bytes)
0x00 5150 RTC_SPRERH
(1)
Synchronous prescaler register high 0x00
(1)
0x00 5151 RTC_SPRERL
(1)
Synchronous prescaler register low 0xFF
(1)
0x00 5152 RTC_APRER
(1)
Asynchronous prescaler register 0x7F
(1)
0x00 5153 Reserved area (1 byte)
0x00 5154 RTC_WUTRH
(1)
Wakeup timer register high 0xFF
(1)
0x00 5155 RTC_WUTRL
(1)
Wakeup timer register low 0xFF
(1)
0x00 5156 to
0x00 5158
Reserved area (3 bytes)
0x00 5159 RTC_WPR Write protection register 0x00
0x00 515A
0x00 515B
Reserved area (2 bytes)
0x00 515C RTC_ALRMAR1 Alarm A register 1 0x00
0x00 515D RTC_ALRMAR2 Alarm A register 2 0x00
0x00 515E RTC_ALRMAR3 Alarm A register 3 0x00
0x00 515F RTC_ALRMAR4 Alarm A register 4 0x00
0x00 5160 to
0x00 51FF
Reserved area (160 bytes)
Table 9. General hardware register map (continued)
Address Block Register label Register name
Reset
status