![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
Macros | |
#define | RTC_CLOCK_SOURCE_HSE |
#define | RTC_ASYNCH_PREDIV 99U |
#define | RTC_SYNCH_PREDIV 9U |
#define | RCC_RTCCLKSOURCE_1MHZ ((uint32_t)((uint32_t)RCC_BDCR_RTCSEL | (uint32_t)((HSE_VALUE/1000000U) << 16U))) |
Functions | |
void | RTC_WKUP_IRQHandler (void) |
This function handles WAKE UP TIMER interrupt request. More... | |
HAL_StatusTypeDef | HAL_InitTick (uint32_t TickPriority) |
This function configures the RTC_WKUP as a time base source. The time source is configured to have 1ms time base with a dedicated Tick interrupt priority. Wakeup Time base = ((RTC_ASYNCH_PREDIV + 1) * (RTC_SYNCH_PREDIV + 1)) / RTC_CLOCK = 1ms Wakeup Time = WakeupTimebase * WakeUpCounter (0 + 1) = 1 ms. More... | |
void | HAL_SuspendTick (void) |
Suspend Tick increment. More... | |
void | HAL_ResumeTick (void) |
Resume Tick increment. More... | |
void | HAL_RTCEx_WakeUpTimerEventCallback (RTC_HandleTypeDef *hrtc) |
Wake Up Timer Event Callback in non blocking mode. More... | |
Variables | |
RTC_HandleTypeDef | hRTC_Handle |
#define RCC_RTCCLKSOURCE_1MHZ ((uint32_t)((uint32_t)RCC_BDCR_RTCSEL | (uint32_t)((HSE_VALUE/1000000U) << 16U))) |
Definition at line 92 of file stm32f7xx_hal_timebase_rtc_wakeup_template.c.
#define RTC_ASYNCH_PREDIV 99U |
Definition at line 90 of file stm32f7xx_hal_timebase_rtc_wakeup_template.c.
#define RTC_CLOCK_SOURCE_HSE |
Definition at line 85 of file stm32f7xx_hal_timebase_rtc_wakeup_template.c.
#define RTC_SYNCH_PREDIV 9U |
Definition at line 91 of file stm32f7xx_hal_timebase_rtc_wakeup_template.c.
HAL_StatusTypeDef HAL_InitTick | ( | uint32_t | TickPriority | ) |
This function configures the RTC_WKUP as a time base source. The time source is configured to have 1ms time base with a dedicated Tick interrupt priority. Wakeup Time base = ((RTC_ASYNCH_PREDIV + 1) * (RTC_SYNCH_PREDIV + 1)) / RTC_CLOCK = 1ms Wakeup Time = WakeupTimebase * WakeUpCounter (0 + 1) = 1 ms.
TickPriority | Tick interrupt priority. |
HAL | status |
Definition at line 120 of file stm32f7xx_hal_timebase_rtc_wakeup_template.c.
void HAL_ResumeTick | ( | void | ) |
Resume Tick increment.
None |
None |
Definition at line 255 of file stm32f7xx_hal_timebase_rtc_wakeup_template.c.
void HAL_RTCEx_WakeUpTimerEventCallback | ( | RTC_HandleTypeDef * | hrtc | ) |
Wake Up Timer Event Callback in non blocking mode.
hrtc | : RTC handle |
None |
Definition at line 273 of file stm32f7xx_hal_timebase_rtc_wakeup_template.c.
void HAL_SuspendTick | ( | void | ) |
Suspend Tick increment.
None |
None |
Definition at line 239 of file stm32f7xx_hal_timebase_rtc_wakeup_template.c.
void RTC_WKUP_IRQHandler | ( | void | ) |
This function handles WAKE UP TIMER interrupt request.
None |
None |
Definition at line 283 of file stm32f7xx_hal_timebase_rtc_wakeup_template.c.
RTC_HandleTypeDef hRTC_Handle |
Definition at line 100 of file stm32f7xx_hal_timebase_rtc_wakeup_template.c.