STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Macros | |
#define | __HAL_RTC_RESET_HANDLE_STATE(__HANDLE__) |
Reset RTC handle state. | |
#define | __HAL_RTC_WRITEPROTECTION_DISABLE(__HANDLE__) |
Disable the write protection for RTC registers. | |
#define | __HAL_RTC_WRITEPROTECTION_ENABLE(__HANDLE__) |
Enable the write protection for RTC registers. | |
#define | __HAL_RTC_IS_CALENDAR_INITIALIZED(__HANDLE__) |
Check whether the RTC Calendar is initialized. | |
#define | __HAL_RTC_ALARMA_ENABLE(__HANDLE__) |
Enable the RTC ALARMA peripheral. | |
#define | __HAL_RTC_ALARMA_DISABLE(__HANDLE__) |
Disable the RTC ALARMA peripheral. | |
#define | __HAL_RTC_ALARMB_ENABLE(__HANDLE__) |
Enable the RTC ALARMB peripheral. | |
#define | __HAL_RTC_ALARMB_DISABLE(__HANDLE__) |
Disable the RTC ALARMB peripheral. | |
#define | __HAL_RTC_ALARM_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the RTC Alarm interrupt. | |
#define | __HAL_RTC_ALARM_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the RTC Alarm interrupt. | |
#define | __HAL_RTC_ALARM_GET_IT(__HANDLE__, __INTERRUPT__) |
Check whether the specified RTC Alarm interrupt has occurred or not. | |
#define | __HAL_RTC_ALARM_GET_FLAG(__HANDLE__, __FLAG__) |
Get the selected RTC Alarm's flag status. | |
#define | __HAL_RTC_ALARM_CLEAR_FLAG(__HANDLE__, __FLAG__) |
Clear the RTC Alarm's pending flags. | |
#define | __HAL_RTC_ALARM_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check whether the specified RTC Alarm interrupt has been enabled or not. | |
#define | __HAL_RTC_ALARM_EXTI_ENABLE_IT() |
Enable interrupt on the RTC Alarm associated EXTI line. | |
#define | __HAL_RTC_ALARM_EXTI_DISABLE_IT() |
Disable interrupt on the RTC Alarm associated EXTI line. | |
#define | __HAL_RTC_ALARM_EXTI_ENABLE_EVENT() |
Enable event on the RTC Alarm associated EXTI line. | |
#define | __HAL_RTC_ALARM_EXTI_DISABLE_EVENT() |
Disable event on the RTC Alarm associated EXTI line. | |
#define | __HAL_RTC_ALARM_EXTI_ENABLE_FALLING_EDGE() |
Enable falling edge trigger on the RTC Alarm associated EXTI line. | |
#define | __HAL_RTC_ALARM_EXTI_DISABLE_FALLING_EDGE() |
Disable falling edge trigger on the RTC Alarm associated EXTI line. | |
#define | __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE() |
Enable rising edge trigger on the RTC Alarm associated EXTI line. | |
#define | __HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE() |
Disable rising edge trigger on the RTC Alarm associated EXTI line. | |
#define | __HAL_RTC_ALARM_EXTI_ENABLE_RISING_FALLING_EDGE() |
Enable rising & falling edge trigger on the RTC Alarm associated EXTI line. | |
#define | __HAL_RTC_ALARM_EXTI_DISABLE_RISING_FALLING_EDGE() |
Disable rising & falling edge trigger on the RTC Alarm associated EXTI line. | |
#define | __HAL_RTC_ALARM_EXTI_GET_FLAG() |
Check whether the RTC Alarm associated EXTI line interrupt flag is set or not. | |
#define | __HAL_RTC_ALARM_EXTI_CLEAR_FLAG() |
Clear the RTC Alarm associated EXTI line flag. | |
#define | __HAL_RTC_ALARM_EXTI_GENERATE_SWIT() |
Generate a Software interrupt on RTC Alarm associated EXTI line. | |
#define __HAL_RTC_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_rtc.h>
Reset RTC handle state.
__HANDLE__ | specifies the RTC handle. |
None |
Definition at line 470 of file stm32f4xx_hal_rtc.h.
#define __HAL_RTC_WRITEPROTECTION_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_rtc.h>
Disable the write protection for RTC registers.
__HANDLE__ | specifies the RTC handle. |
None |
Definition at line 478 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_InitTick(), HAL_ResumeTick(), HAL_RTC_AlarmAEventCallback(), HAL_RTC_DeactivateAlarm(), HAL_RTC_DeInit(), HAL_RTC_DST_Add1Hour(), HAL_RTC_DST_ClearStoreOperation(), HAL_RTC_DST_SetStoreOperation(), HAL_RTC_DST_Sub1Hour(), HAL_RTC_Init(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), HAL_RTC_SetDate(), HAL_RTC_SetTime(), HAL_RTCEx_DeactivateCalibrationOutPut(), HAL_RTCEx_DeactivateCoarseCalib(), HAL_RTCEx_DeactivateRefClock(), HAL_RTCEx_DeactivateTimeStamp(), HAL_RTCEx_DeactivateWakeUpTimer(), HAL_RTCEx_DisableBypassShadow(), HAL_RTCEx_EnableBypassShadow(), HAL_RTCEx_SetCalibrationOutPut(), HAL_RTCEx_SetCoarseCalib(), HAL_RTCEx_SetRefClock(), HAL_RTCEx_SetSmoothCalib(), HAL_RTCEx_SetSynchroShift(), HAL_RTCEx_SetTimeStamp(), HAL_RTCEx_SetTimeStamp_IT(), HAL_RTCEx_SetWakeUpTimer(), HAL_RTCEx_SetWakeUpTimer_IT(), and HAL_SuspendTick().
#define __HAL_RTC_WRITEPROTECTION_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_rtc.h>
Enable the write protection for RTC registers.
__HANDLE__ | specifies the RTC handle. |
None |
Definition at line 488 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_InitTick(), HAL_ResumeTick(), HAL_RTC_AlarmAEventCallback(), HAL_RTC_DeactivateAlarm(), HAL_RTC_DeInit(), HAL_RTC_DST_Add1Hour(), HAL_RTC_DST_ClearStoreOperation(), HAL_RTC_DST_SetStoreOperation(), HAL_RTC_DST_Sub1Hour(), HAL_RTC_Init(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), HAL_RTC_SetDate(), HAL_RTC_SetTime(), HAL_RTCEx_DeactivateCalibrationOutPut(), HAL_RTCEx_DeactivateCoarseCalib(), HAL_RTCEx_DeactivateRefClock(), HAL_RTCEx_DeactivateTimeStamp(), HAL_RTCEx_DeactivateWakeUpTimer(), HAL_RTCEx_DisableBypassShadow(), HAL_RTCEx_EnableBypassShadow(), HAL_RTCEx_SetCalibrationOutPut(), HAL_RTCEx_SetCoarseCalib(), HAL_RTCEx_SetRefClock(), HAL_RTCEx_SetSmoothCalib(), HAL_RTCEx_SetSynchroShift(), HAL_RTCEx_SetTimeStamp(), HAL_RTCEx_SetTimeStamp_IT(), HAL_RTCEx_SetWakeUpTimer(), HAL_RTCEx_SetWakeUpTimer_IT(), and HAL_SuspendTick().
#define __HAL_RTC_IS_CALENDAR_INITIALIZED | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_rtc.h>
Check whether the RTC Calendar is initialized.
__HANDLE__ | specifies the RTC handle. |
None |
Definition at line 497 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_RTC_Init().
#define __HAL_RTC_ALARMA_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_rtc.h>
Enable the RTC ALARMA peripheral.
__HANDLE__ | specifies the RTC handle. |
None |
Definition at line 504 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_InitTick(), HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define __HAL_RTC_ALARMA_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_rtc.h>
Disable the RTC ALARMA peripheral.
__HANDLE__ | specifies the RTC handle. |
None |
Definition at line 511 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_InitTick(), HAL_RTC_DeactivateAlarm(), HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define __HAL_RTC_ALARMB_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_rtc.h>
Enable the RTC ALARMB peripheral.
__HANDLE__ | specifies the RTC handle. |
None |
Definition at line 518 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define __HAL_RTC_ALARMB_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_rtc.h>
Disable the RTC ALARMB peripheral.
__HANDLE__ | specifies the RTC handle. |
None |
Definition at line 525 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_RTC_DeactivateAlarm(), HAL_RTC_SetAlarm(), and HAL_RTC_SetAlarm_IT().
#define __HAL_RTC_ALARM_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_rtc.h>
Enable the RTC Alarm interrupt.
__HANDLE__ | specifies the RTC handle. |
__INTERRUPT__ | specifies the RTC Alarm interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
|
None |
Definition at line 536 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_InitTick(), HAL_ResumeTick(), and HAL_RTC_SetAlarm_IT().
#define __HAL_RTC_ALARM_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_rtc.h>
Disable the RTC Alarm interrupt.
__HANDLE__ | specifies the RTC handle. |
__INTERRUPT__ | specifies the RTC Alarm interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
|
None |
Definition at line 547 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_RTC_DeactivateAlarm(), HAL_RTC_SetAlarm(), and HAL_SuspendTick().
#define __HAL_RTC_ALARM_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_rtc.h>
Check whether the specified RTC Alarm interrupt has occurred or not.
__HANDLE__ | specifies the RTC handle. |
__INTERRUPT__ | specifies the RTC Alarm interrupt to check. This parameter can be:
|
None |
Definition at line 558 of file stm32f4xx_hal_rtc.h.
#define __HAL_RTC_ALARM_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_rtc.h>
Get the selected RTC Alarm's flag status.
__HANDLE__ | specifies the RTC handle. |
__FLAG__ | specifies the RTC Alarm Flag to check. This parameter can be:
|
None |
Definition at line 571 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_InitTick(), HAL_RTC_AlarmIRQHandler(), HAL_RTC_DeactivateAlarm(), HAL_RTC_PollForAlarmAEvent(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), and HAL_RTCEx_PollForAlarmBEvent().
#define __HAL_RTC_ALARM_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_rtc.h>
Clear the RTC Alarm's pending flags.
__HANDLE__ | specifies the RTC handle. |
__FLAG__ | specifies the RTC Alarm flag to be cleared. This parameter can be:
|
None |
Definition at line 582 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_InitTick(), HAL_RTC_AlarmIRQHandler(), HAL_RTC_PollForAlarmAEvent(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), and HAL_RTCEx_PollForAlarmBEvent().
#define __HAL_RTC_ALARM_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_rtc.h>
Check whether the specified RTC Alarm interrupt has been enabled or not.
__HANDLE__ | specifies the RTC handle. |
__INTERRUPT__ | specifies the RTC Alarm interrupt sources to check. This parameter can be:
|
None |
Definition at line 593 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_RTC_AlarmIRQHandler().
#define __HAL_RTC_ALARM_EXTI_ENABLE_IT | ( | ) |
#include <stm32f4xx_hal_rtc.h>
Enable interrupt on the RTC Alarm associated EXTI line.
None |
Definition at line 599 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_InitTick(), and HAL_RTC_SetAlarm_IT().
#define __HAL_RTC_ALARM_EXTI_DISABLE_IT | ( | ) |
#include <stm32f4xx_hal_rtc.h>
Disable interrupt on the RTC Alarm associated EXTI line.
None |
Definition at line 605 of file stm32f4xx_hal_rtc.h.
#define __HAL_RTC_ALARM_EXTI_ENABLE_EVENT | ( | ) |
#include <stm32f4xx_hal_rtc.h>
Enable event on the RTC Alarm associated EXTI line.
None. |
Definition at line 611 of file stm32f4xx_hal_rtc.h.
#define __HAL_RTC_ALARM_EXTI_DISABLE_EVENT | ( | ) |
#include <stm32f4xx_hal_rtc.h>
Disable event on the RTC Alarm associated EXTI line.
None. |
Definition at line 617 of file stm32f4xx_hal_rtc.h.
#define __HAL_RTC_ALARM_EXTI_ENABLE_FALLING_EDGE | ( | ) |
#include <stm32f4xx_hal_rtc.h>
Enable falling edge trigger on the RTC Alarm associated EXTI line.
None. |
Definition at line 623 of file stm32f4xx_hal_rtc.h.
#define __HAL_RTC_ALARM_EXTI_DISABLE_FALLING_EDGE | ( | ) |
#include <stm32f4xx_hal_rtc.h>
Disable falling edge trigger on the RTC Alarm associated EXTI line.
None. |
Definition at line 629 of file stm32f4xx_hal_rtc.h.
#define __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE | ( | ) |
#include <stm32f4xx_hal_rtc.h>
Enable rising edge trigger on the RTC Alarm associated EXTI line.
None. |
Definition at line 635 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_InitTick(), and HAL_RTC_SetAlarm_IT().
#define __HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE | ( | ) |
#include <stm32f4xx_hal_rtc.h>
Disable rising edge trigger on the RTC Alarm associated EXTI line.
None. |
Definition at line 641 of file stm32f4xx_hal_rtc.h.
#define __HAL_RTC_ALARM_EXTI_ENABLE_RISING_FALLING_EDGE | ( | ) |
#include <stm32f4xx_hal_rtc.h>
Enable rising & falling edge trigger on the RTC Alarm associated EXTI line.
None. |
Definition at line 647 of file stm32f4xx_hal_rtc.h.
#define __HAL_RTC_ALARM_EXTI_DISABLE_RISING_FALLING_EDGE | ( | ) |
#include <stm32f4xx_hal_rtc.h>
Disable rising & falling edge trigger on the RTC Alarm associated EXTI line.
None. |
Definition at line 656 of file stm32f4xx_hal_rtc.h.
#define __HAL_RTC_ALARM_EXTI_GET_FLAG | ( | ) |
#include <stm32f4xx_hal_rtc.h>
Check whether the RTC Alarm associated EXTI line interrupt flag is set or not.
Line | Status. |
Definition at line 665 of file stm32f4xx_hal_rtc.h.
#define __HAL_RTC_ALARM_EXTI_CLEAR_FLAG | ( | ) |
#include <stm32f4xx_hal_rtc.h>
Clear the RTC Alarm associated EXTI line flag.
None. |
Definition at line 671 of file stm32f4xx_hal_rtc.h.
Referenced by HAL_RTC_AlarmIRQHandler().
#define __HAL_RTC_ALARM_EXTI_GENERATE_SWIT | ( | ) |
#include <stm32f4xx_hal_rtc.h>
Generate a Software interrupt on RTC Alarm associated EXTI line.
None. |
Definition at line 677 of file stm32f4xx_hal_rtc.h.