STM32F103xB HAL User Manual
|
Defines | |
#define | IS_RTC_ASYNCH_PREDIV(PREDIV) (((PREDIV) <= 0xFFFFFU) || ((PREDIV) == RTC_AUTO_1_SECOND)) |
#define | IS_RTC_HOUR24(HOUR) ((HOUR) <= 23U) |
#define | IS_RTC_MINUTES(MINUTES) ((MINUTES) <= 59U) |
#define | IS_RTC_SECONDS(SECONDS) ((SECONDS) <= 59U) |
#define | IS_RTC_FORMAT(FORMAT) (((FORMAT) == RTC_FORMAT_BIN) || ((FORMAT) == RTC_FORMAT_BCD)) |
#define | IS_RTC_YEAR(YEAR) ((YEAR) <= 99U) |
#define | IS_RTC_MONTH(MONTH) (((MONTH) >= 1U) && ((MONTH) <= 12U)) |
#define | IS_RTC_DATE(DATE) (((DATE) >= 1U) && ((DATE) <= 31U)) |
#define | IS_RTC_ALARM(ALARM) ((ALARM) == RTC_ALARM_A) |
#define | IS_RTC_CALIB_OUTPUT(__OUTPUT__) |
#define IS_RTC_ALARM | ( | ALARM | ) | ((ALARM) == RTC_ALARM_A) |
Definition at line 51 of file stm32f1xx_hal_rtc.h.
Referenced by HAL_RTC_DeactivateAlarm(), HAL_RTC_GetAlarm(), HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define IS_RTC_ASYNCH_PREDIV | ( | PREDIV | ) | (((PREDIV) <= 0xFFFFFU) || ((PREDIV) == RTC_AUTO_1_SECOND)) |
Definition at line 43 of file stm32f1xx_hal_rtc.h.
Referenced by HAL_RTC_Init().
#define IS_RTC_CALIB_OUTPUT | ( | __OUTPUT__ | ) |
(((__OUTPUT__) == RTC_OUTPUTSOURCE_NONE) || \ ((__OUTPUT__) == RTC_OUTPUTSOURCE_CALIBCLOCK) || \ ((__OUTPUT__) == RTC_OUTPUTSOURCE_ALARM) || \ ((__OUTPUT__) == RTC_OUTPUTSOURCE_SECOND))
Definition at line 52 of file stm32f1xx_hal_rtc.h.
Referenced by HAL_RTC_Init().
#define IS_RTC_DATE | ( | DATE | ) | (((DATE) >= 1U) && ((DATE) <= 31U)) |
Definition at line 50 of file stm32f1xx_hal_rtc.h.
Referenced by HAL_RTC_SetDate().
#define IS_RTC_FORMAT | ( | FORMAT | ) | (((FORMAT) == RTC_FORMAT_BIN) || ((FORMAT) == RTC_FORMAT_BCD)) |
Definition at line 47 of file stm32f1xx_hal_rtc.h.
Referenced by HAL_RTC_GetAlarm(), HAL_RTC_GetDate(), HAL_RTC_GetTime(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), HAL_RTC_SetDate(), and HAL_RTC_SetTime().
#define IS_RTC_HOUR24 | ( | HOUR | ) | ((HOUR) <= 23U) |
Definition at line 44 of file stm32f1xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), and HAL_RTC_SetTime().
#define IS_RTC_MINUTES | ( | MINUTES | ) | ((MINUTES) <= 59U) |
Definition at line 45 of file stm32f1xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), and HAL_RTC_SetTime().
#define IS_RTC_MONTH | ( | MONTH | ) | (((MONTH) >= 1U) && ((MONTH) <= 12U)) |
Definition at line 49 of file stm32f1xx_hal_rtc.h.
Referenced by HAL_RTC_SetDate().
#define IS_RTC_SECONDS | ( | SECONDS | ) | ((SECONDS) <= 59U) |
Definition at line 46 of file stm32f1xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), and HAL_RTC_SetTime().
#define IS_RTC_YEAR | ( | YEAR | ) | ((YEAR) <= 99U) |
Definition at line 48 of file stm32f1xx_hal_rtc.h.
Referenced by HAL_RTC_SetDate().