STM32L486xx HAL User Manual
|
Defines | |
#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) (((PM) == RTC_HOURFORMAT12_AM) || ((PM) == RTC_HOURFORMAT12_PM)) |
#define | IS_RTC_DAYLIGHT_SAVING(SAVE) |
#define | IS_RTC_STORE_OPERATION(OPERATION) |
#define | IS_RTC_FORMAT(FORMAT) (((FORMAT) == RTC_FORMAT_BIN) || ((FORMAT) == RTC_FORMAT_BCD)) |
#define | IS_RTC_YEAR(YEAR) ((YEAR) <= (uint32_t)99) |
#define | IS_RTC_MONTH(MONTH) (((MONTH) >= (uint32_t)1) && ((MONTH) <= (uint32_t)12)) |
#define | IS_RTC_DATE(DATE) (((DATE) >= (uint32_t)1) && ((DATE) <= (uint32_t)31)) |
#define | IS_RTC_WEEKDAY(WEEKDAY) |
#define | IS_RTC_ALARM_DATE_WEEKDAY_DATE(DATE) (((DATE) >(uint32_t) 0) && ((DATE) <= (uint32_t)31)) |
#define | IS_RTC_ALARM_DATE_WEEKDAY_WEEKDAY(WEEKDAY) |
#define | IS_RTC_ALARM_DATE_WEEKDAY_SEL(SEL) |
#define | IS_RTC_ALARM_MASK(MASK) (((MASK) & 0x7F7F7F7F) == (uint32_t)RESET) |
#define | IS_RTC_ALARM(ALARM) (((ALARM) == RTC_ALARM_A) || ((ALARM) == RTC_ALARM_B)) |
#define | IS_RTC_ALARM_SUB_SECOND_VALUE(VALUE) ((VALUE) <= (uint32_t)0x00007FFF) |
#define | IS_RTC_ALARM_SUB_SECOND_MASK(MASK) |
#define | IS_RTC_ASYNCH_PREDIV(PREDIV) ((PREDIV) <= (uint32_t)0x7F) |
#define | IS_RTC_SYNCH_PREDIV(PREDIV) ((PREDIV) <= (uint32_t)0x7FFF) |
#define | IS_RTC_HOUR12(HOUR) (((HOUR) > (uint32_t)0) && ((HOUR) <= (uint32_t)12)) |
#define | IS_RTC_HOUR24(HOUR) ((HOUR) <= (uint32_t)23) |
#define | IS_RTC_MINUTES(MINUTES) ((MINUTES) <= (uint32_t)59) |
#define | IS_RTC_SECONDS(SECONDS) ((SECONDS) <= (uint32_t)59) |
#define IS_RTC_ALARM | ( | ALARM | ) | (((ALARM) == RTC_ALARM_A) || ((ALARM) == RTC_ALARM_B)) |
Definition at line 860 of file stm32l4xx_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) >(uint32_t) 0) && ((DATE) <= (uint32_t)31)) |
Definition at line 845 of file stm32l4xx_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 855 of file stm32l4xx_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 847 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define IS_RTC_ALARM_MASK | ( | MASK | ) | (((MASK) & 0x7F7F7F7F) == (uint32_t)RESET) |
Definition at line 858 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define IS_RTC_ALARM_SUB_SECOND_MASK | ( | MASK | ) |
(((MASK) == RTC_ALARMSUBSECONDMASK_ALL) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14_1) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14_2) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14_3) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14_4) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14_5) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14_6) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14_7) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14_8) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14_9) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14_10) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14_11) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14_12) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14_13) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_SS14) || \ ((MASK) == RTC_ALARMSUBSECONDMASK_NONE))
Definition at line 864 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define IS_RTC_ALARM_SUB_SECOND_VALUE | ( | VALUE | ) | ((VALUE) <= (uint32_t)0x00007FFF) |
Definition at line 862 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define IS_RTC_ASYNCH_PREDIV | ( | PREDIV | ) | ((PREDIV) <= (uint32_t)0x7F) |
Definition at line 881 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_Init().
#define IS_RTC_DATE | ( | DATE | ) | (((DATE) >= (uint32_t)1) && ((DATE) <= (uint32_t)31)) |
Definition at line 835 of file stm32l4xx_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 822 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_SetTime().
#define IS_RTC_FORMAT | ( | FORMAT | ) | (((FORMAT) == RTC_FORMAT_BIN) || ((FORMAT) == RTC_FORMAT_BCD)) |
Definition at line 829 of file stm32l4xx_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) > (uint32_t)0) && ((HOUR) <= (uint32_t)12)) |
Definition at line 885 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), and HAL_RTC_SetTime().
#define IS_RTC_HOUR24 | ( | HOUR | ) | ((HOUR) <= (uint32_t)23) |
Definition at line 887 of file stm32l4xx_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 808 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_Init().
#define IS_RTC_HOURFORMAT12 | ( | PM | ) | (((PM) == RTC_HOURFORMAT12_AM) || ((PM) == RTC_HOURFORMAT12_PM)) |
Definition at line 820 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), and HAL_RTC_SetTime().
#define IS_RTC_MINUTES | ( | MINUTES | ) | ((MINUTES) <= (uint32_t)59) |
Definition at line 889 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), and HAL_RTC_SetTime().
#define IS_RTC_MONTH | ( | MONTH | ) | (((MONTH) >= (uint32_t)1) && ((MONTH) <= (uint32_t)12)) |
Definition at line 833 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_SetDate().
#define IS_RTC_OUTPUT_POL | ( | POL | ) |
(((POL) == RTC_OUTPUT_POLARITY_HIGH) || \ ((POL) == RTC_OUTPUT_POLARITY_LOW))
Definition at line 811 of file stm32l4xx_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 817 of file stm32l4xx_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 814 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_Init().
#define IS_RTC_SECONDS | ( | SECONDS | ) | ((SECONDS) <= (uint32_t)59) |
Definition at line 891 of file stm32l4xx_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 826 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_SetTime().
#define IS_RTC_SYNCH_PREDIV | ( | PREDIV | ) | ((PREDIV) <= (uint32_t)0x7FFF) |
Definition at line 883 of file stm32l4xx_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 837 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_SetDate().
#define IS_RTC_YEAR | ( | YEAR | ) | ((YEAR) <= (uint32_t)99) |
Definition at line 831 of file stm32l4xx_hal_rtc.h.
Referenced by HAL_RTC_SetDate().