stm32 added better RTC periph API functions

Originally tracked at https://github.com/libopencm3/libopencm3/pull/1319
This commit is contained in:
Bastian de Byl
2021-03-08 01:19:40 -05:00
committed by Karl Palsson
parent dc6ebac841
commit 0d72e6739c
4 changed files with 245 additions and 2 deletions

View File

@@ -538,8 +538,8 @@ enum rcc_periph_rst {
RST_DAC1 = _REG_BIT(0x10, 29), /* Compatibility alias */
RST_CEC = _REG_BIT(0x10, 30),
/* Advanced peripherals */
RST_BACKUPDOMAIN = _REG_BIT(0x20, 16),/* BDCR[16] */
/* Backup domain control */
RST_BDCR = _REG_BIT(0x20, 16),/* BDCR[16] */
/* AHB peripherals */
RST_GPIOA = _REG_BIT(0x28, 17),