Datasheet
Memory and register map STM8L151x2, STM8L151x3
38/112 Doc ID 018780 Rev 4
0x00 5140
RTC
RTC_TR1 RTC time register 1 0x00
0x00 5141 RTC_TR2 RTC time register 2 0x00
0x00 5142 RTC_TR3 RTC time register 3 0x00
0x00 5143 Reserved area (1 byte)
0x00 5144 RTC_DR1 RTC date register 1 0x01
0x00 5145 RTC_DR2 RTC date register 2 0x21
0x00 5146 RTC_DR3 RTC date register 3 0x00
0x00 5147 Reserved area (1 byte)
0x00 5148 RTC_CR1 RTC control register 1 0x00
(1)
0x00 5149 RTC_CR2 RTC control register 2 0x00
(1)
0x00 514A RTC_CR3 RTC control register 3 0x00
(1)
0x00 514B Reserved area (1 byte)
0x00 514C RTC_ISR1 RTC initialization and status register 1 0x01
0x00 514D RTC_ISR2 RTC initialization and Status register 2 0x00
0x00 514E
0x00 514F
Reserved area (2 bytes)
0x00 5150 RTC_SPRERH RTC synchronous prescaler register high 0x00
(1)
0x00 5151 RTC_SPRERL RTC synchronous prescaler register low 0xFF
(1)
0x00 5152 RTC_APRER RTC asynchronous prescaler register 0x7F
(1)
0x00 5153 Reserved area (1 byte)
0x00 5154 RTC_WUTRH RTC wakeup timer register high 0xFF
(1)
0x00 5155 RTC_WUTRL RTC wakeup timer register low 0xFF
(1)
0x00 5156 Reserved area (1 byte)
0x00 5157 RTC_SSRL RTC subsecond register low 0x00
0x00 5158 RTC_SSRH RTC subsecond register high 0x00
0x00 5159 RTC_WPR RTC write protection register 0x00
0x00 5158 RTC_SSRH RTC subsecond register high 0x00
0x00 5159 RTC_WPR RTC write protection register 0x00
0x00 515A RTC_SHIFTRH RTC shift register high 0x00
0x00 515B RTC_SHIFTRL RTC shift register low 0x00
0x00 515C RTC_ALRMAR1 RTC alarm A register 1 0x00
(1)
0x00 515D RTC_ALRMAR2 RTC alarm A register 2 0x00
(1)
0x00 515E RTC_ALRMAR3 RTC alarm A register 3 0x00
(1)
0x00 515F RTC_ALRMAR4 RTC alarm A register 4 0x00
(1)
Table 8. General hardware register map (continued)
Address Block Register label Register name Reset status