![]() |
RTEMS 6.1-rc2
|
HAL time base based on the hardware RTC_ALARM Template. More...
#include "stm32h7xx_hal.h"
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) << 12U))) |
Functions | |
void | RTC_Alarm_IRQHandler (void) |
This function handles RTC ALARM interrupt request. | |
HAL_StatusTypeDef | HAL_InitTick (uint32_t TickPriority) |
This function configures the RTC_ALARMA as a time base source. The time source is configured to have 1ms time base with a dedicated Tick interrupt priority. | |
void | HAL_SuspendTick (void) |
Suspend Tick increment. | |
void | HAL_ResumeTick (void) |
Resume Tick increment. | |
void | HAL_RTC_AlarmAEventCallback (RTC_HandleTypeDef *hrtc) |
ALARM A Event Callback in non blocking mode. | |
Variables | |
verbatim | |
HAL time base based on the hardware RTC_ALARM Template.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
HAL_StatusTypeDef HAL_InitTick | ( | uint32_t | TickPriority | ) |
This function configures the RTC_ALARMA as a time base source. The time source is configured to have 1ms time base with a dedicated Tick interrupt priority.
TickPriority | Tick interrupt priority. |
HAL | status |
void RTC_Alarm_IRQHandler | ( | void | ) |
This function handles RTC ALARM interrupt request.
None |