STM32H735xx HAL User Manual
|
Defines | |
#define | IS_RTC_OUTPUT(OUTPUT) |
#define | IS_RTC_HOUR_FORMAT(FORMAT) |
#define | IS_RTC_OUTPUT_POL(POL) |
#define | IS_RTC_OUTPUT_TYPE(TYPE) |
#define | IS_RTC_OUTPUT_REMAP(REMAP) |
#define | IS_RTC_HOURFORMAT12(PM) |
#define | IS_RTC_DAYLIGHT_SAVING(SAVE) |
#define | IS_RTC_STORE_OPERATION(OPERATION) |
#define | IS_RTC_FORMAT(FORMAT) |
#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_WEEKDAY(WEEKDAY) |
#define | IS_RTC_ALARM_DATE_WEEKDAY_DATE(DATE) (((DATE) > 0u) && ((DATE) <= 31u)) |
#define | IS_RTC_ALARM_DATE_WEEKDAY_WEEKDAY(WEEKDAY) |
#define | IS_RTC_ALARM_DATE_WEEKDAY_SEL(SEL) |
#define | IS_RTC_ALARM_MASK(MASK) (((MASK) & ~(RTC_ALARMMASK_ALL)) == 0u) |
#define | IS_RTC_ALARM(ALARM) |
#define | IS_RTC_ALARM_SUB_SECOND_VALUE(VALUE) ((VALUE) <= RTC_ALRMASSR_SS) |
#define | IS_RTC_ALARM_SUB_SECOND_MASK(MASK) |
#define | IS_RTC_ASYNCH_PREDIV(PREDIV) ((PREDIV) <= (RTC_PRER_PREDIV_A >> RTC_PRER_PREDIV_A_Pos)) |
#define | IS_RTC_SYNCH_PREDIV(PREDIV) ((PREDIV) <= (RTC_PRER_PREDIV_S >> RTC_PRER_PREDIV_S_Pos)) |
#define | IS_RTC_HOUR12(HOUR) (((HOUR) > 0u) && ((HOUR) <= 12u)) |
#define | IS_RTC_HOUR24(HOUR) ((HOUR) <= 23u) |
#define | IS_RTC_MINUTES(MINUTES) ((MINUTES) <= 59u) |
#define | IS_RTC_SECONDS(SECONDS) ((SECONDS) <= 59u) |
#define IS_RTC_ALARM | ( | ALARM | ) |
(((ALARM) == RTC_ALARM_A) || \ ((ALARM) == RTC_ALARM_B))
Definition at line 1186 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_DeactivateAlarm(), HAL_RTC_GetAlarm(), HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define IS_RTC_ALARM_DATE_WEEKDAY_DATE | ( | DATE | ) | (((DATE) > 0u) && ((DATE) <= 31u)) |
Definition at line 1171 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define IS_RTC_ALARM_DATE_WEEKDAY_SEL | ( | SEL | ) |
(((SEL) == RTC_ALARMDATEWEEKDAYSEL_DATE) || \ ((SEL) == RTC_ALARMDATEWEEKDAYSEL_WEEKDAY))
Definition at line 1181 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define IS_RTC_ALARM_DATE_WEEKDAY_WEEKDAY | ( | WEEKDAY | ) |
(((WEEKDAY) == RTC_WEEKDAY_MONDAY) || \ ((WEEKDAY) == RTC_WEEKDAY_TUESDAY) || \ ((WEEKDAY) == RTC_WEEKDAY_WEDNESDAY) || \ ((WEEKDAY) == RTC_WEEKDAY_THURSDAY) || \ ((WEEKDAY) == RTC_WEEKDAY_FRIDAY) || \ ((WEEKDAY) == RTC_WEEKDAY_SATURDAY) || \ ((WEEKDAY) == RTC_WEEKDAY_SUNDAY))
Definition at line 1173 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define IS_RTC_ALARM_MASK | ( | MASK | ) | (((MASK) & ~(RTC_ALARMMASK_ALL)) == 0u) |
Definition at line 1184 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define IS_RTC_ALARM_SUB_SECOND_MASK | ( | MASK | ) |
(((MASK) == 0u) || \ (((MASK) >= RTC_ALARMSUBSECONDMASK_SS14_1) && ((MASK) <= RTC_ALARMSUBSECONDMASK_NONE)))
Definition at line 1191 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define IS_RTC_ALARM_SUB_SECOND_VALUE | ( | VALUE | ) | ((VALUE) <= RTC_ALRMASSR_SS) |
Definition at line 1189 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define IS_RTC_ASYNCH_PREDIV | ( | PREDIV | ) | ((PREDIV) <= (RTC_PRER_PREDIV_A >> RTC_PRER_PREDIV_A_Pos)) |
Definition at line 1194 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_Init().
#define IS_RTC_DATE | ( | DATE | ) | (((DATE) >= 1u) && ((DATE) <= 31u)) |
Definition at line 1161 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetDate().
#define IS_RTC_DAYLIGHT_SAVING | ( | SAVE | ) |
(((SAVE) == RTC_DAYLIGHTSAVING_SUB1H) || \ ((SAVE) == RTC_DAYLIGHTSAVING_ADD1H) || \ ((SAVE) == RTC_DAYLIGHTSAVING_NONE))
Definition at line 1147 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetTime().
#define IS_RTC_FORMAT | ( | FORMAT | ) |
(((FORMAT) == RTC_FORMAT_BIN) || \ ((FORMAT) == RTC_FORMAT_BCD))
Definition at line 1154 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_GetAlarm(), HAL_RTC_GetDate(), HAL_RTC_GetTime(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), HAL_RTC_SetDate(), HAL_RTC_SetTime(), and HAL_RTCEx_GetTimeStamp().
#define IS_RTC_HOUR12 | ( | HOUR | ) | (((HOUR) > 0u) && ((HOUR) <= 12u)) |
Definition at line 1198 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), and HAL_RTC_SetTime().
#define IS_RTC_HOUR24 | ( | HOUR | ) | ((HOUR) <= 23u) |
Definition at line 1200 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), and HAL_RTC_SetTime().
#define IS_RTC_HOUR_FORMAT | ( | FORMAT | ) |
(((FORMAT) == RTC_HOURFORMAT_12) || \ ((FORMAT) == RTC_HOURFORMAT_24))
Definition at line 1127 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_Init().
#define IS_RTC_HOURFORMAT12 | ( | PM | ) |
(((PM) == RTC_HOURFORMAT12_AM) || \ ((PM) == RTC_HOURFORMAT12_PM))
Definition at line 1144 of file stm32h7xx_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 1202 of file stm32h7xx_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 1159 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetDate().
#define IS_RTC_OUTPUT | ( | OUTPUT | ) |
(((OUTPUT) == RTC_OUTPUT_DISABLE) || \ ((OUTPUT) == RTC_OUTPUT_ALARMA) || \ ((OUTPUT) == RTC_OUTPUT_ALARMB) || \ ((OUTPUT) == RTC_OUTPUT_WAKEUP))
Definition at line 1121 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_Init().
#define IS_RTC_OUTPUT_POL | ( | POL | ) |
(((POL) == RTC_OUTPUT_POLARITY_HIGH) || \ ((POL) == RTC_OUTPUT_POLARITY_LOW))
Definition at line 1130 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_Init().
#define IS_RTC_OUTPUT_REMAP | ( | REMAP | ) |
(((REMAP) == RTC_OUTPUT_REMAP_NONE) || \ ((REMAP) == RTC_OUTPUT_REMAP_POS1))
Definition at line 1141 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_Init().
#define IS_RTC_OUTPUT_TYPE | ( | TYPE | ) |
(((TYPE) == RTC_OUTPUT_TYPE_OPENDRAIN) || \ ((TYPE) == RTC_OUTPUT_TYPE_PUSHPULL))
Definition at line 1133 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_Init().
#define IS_RTC_SECONDS | ( | SECONDS | ) | ((SECONDS) <= 59u) |
Definition at line 1204 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), and HAL_RTC_SetTime().
#define IS_RTC_STORE_OPERATION | ( | OPERATION | ) |
(((OPERATION) == RTC_STOREOPERATION_RESET) || \ ((OPERATION) == RTC_STOREOPERATION_SET))
Definition at line 1151 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetTime().
#define IS_RTC_SYNCH_PREDIV | ( | PREDIV | ) | ((PREDIV) <= (RTC_PRER_PREDIV_S >> RTC_PRER_PREDIV_S_Pos)) |
Definition at line 1196 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_Init().
#define IS_RTC_WEEKDAY | ( | WEEKDAY | ) |
(((WEEKDAY) == RTC_WEEKDAY_MONDAY) || \ ((WEEKDAY) == RTC_WEEKDAY_TUESDAY) || \ ((WEEKDAY) == RTC_WEEKDAY_WEDNESDAY) || \ ((WEEKDAY) == RTC_WEEKDAY_THURSDAY) || \ ((WEEKDAY) == RTC_WEEKDAY_FRIDAY) || \ ((WEEKDAY) == RTC_WEEKDAY_SATURDAY) || \ ((WEEKDAY) == RTC_WEEKDAY_SUNDAY))
Definition at line 1163 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetDate().
#define IS_RTC_YEAR | ( | YEAR | ) | ((YEAR) <= 99u) |
Definition at line 1157 of file stm32h7xx_hal_rtc.h.
Referenced by HAL_RTC_SetDate().