DIY Logging Volt/Ampmeter
|
Macros | |
#define | __HAL_RCC_RTC_CONFIG(__RTC_CLKSOURCE__) MODIFY_REG(RCC->BDCR, RCC_BDCR_RTCSEL, (__RTC_CLKSOURCE__)) |
Macro to configure the RTC clock (RTCCLK). More... | |
#define | __HAL_RCC_GET_RTC_SOURCE() (READ_BIT(RCC->BDCR, RCC_BDCR_RTCSEL)) |
Macro to get the RTC clock source. More... | |
#define | __HAL_RCC_RTC_ENABLE() (*(__IO uint32_t *) RCC_BDCR_RTCEN_BB = ENABLE) |
Macro to enable the the RTC clock. More... | |
#define | __HAL_RCC_RTC_DISABLE() (*(__IO uint32_t *) RCC_BDCR_RTCEN_BB = DISABLE) |
Macro to disable the the RTC clock. More... | |
#define | __HAL_RCC_BACKUPRESET_FORCE() (*(__IO uint32_t *) RCC_BDCR_BDRST_BB = ENABLE) |
Macro to force the Backup domain reset. More... | |
#define | __HAL_RCC_BACKUPRESET_RELEASE() (*(__IO uint32_t *) RCC_BDCR_BDRST_BB = DISABLE) |
Macros to release the Backup domain reset. More... | |
#define __HAL_RCC_BACKUPRESET_FORCE | ( | ) | (*(__IO uint32_t *) RCC_BDCR_BDRST_BB = ENABLE) |
Macro to force the Backup domain reset.
Definition at line 1012 of file stm32f1xx_hal_rcc.h.
#define __HAL_RCC_BACKUPRESET_RELEASE | ( | ) | (*(__IO uint32_t *) RCC_BDCR_BDRST_BB = DISABLE) |
Macros to release the Backup domain reset.
Definition at line 1016 of file stm32f1xx_hal_rcc.h.
#define __HAL_RCC_GET_RTC_SOURCE | ( | ) | (READ_BIT(RCC->BDCR, RCC_BDCR_RTCSEL)) |
Macro to get the RTC clock source.
The | clock source can be one of the following values:
|
Definition at line 996 of file stm32f1xx_hal_rcc.h.
#define __HAL_RCC_RTC_CONFIG | ( | __RTC_CLKSOURCE__ | ) | MODIFY_REG(RCC->BDCR, RCC_BDCR_RTCSEL, (__RTC_CLKSOURCE__)) |
Macro to configure the RTC clock (RTCCLK).
<strong>RTC_CLKSOURCE</strong> | specifies the RTC clock source. This parameter can be one of the following values:
|
Definition at line 987 of file stm32f1xx_hal_rcc.h.
#define __HAL_RCC_RTC_DISABLE | ( | ) | (*(__IO uint32_t *) RCC_BDCR_RTCEN_BB = DISABLE) |
Macro to disable the the RTC clock.
Definition at line 1006 of file stm32f1xx_hal_rcc.h.
#define __HAL_RCC_RTC_ENABLE | ( | ) | (*(__IO uint32_t *) RCC_BDCR_RTCEN_BB = ENABLE) |
Macro to enable the the RTC clock.
Definition at line 1001 of file stm32f1xx_hal_rcc.h.