STM32 RTC Scheduler
RTC-based scheduler for ultra-low power applications
|
This file contains the STM32 HAL timebase implementation. More...
#include "stm32l4xx_hal.h"
#include "stm32l4xx_hal_tim.h"
Go to the source code of this file.
Functions | |
HAL_StatusTypeDef | HAL_InitTick (uint32_t TickPriority) |
This function configures the TIM17 as the HAL time base source. More... | |
void | HAL_SuspendTick (void) |
Suspend the tick increment. More... | |
void | HAL_ResumeTick (void) |
Resume the tick increment. More... | |
Variables | |
TIM_HandleTypeDef | htim17 |
This file contains the STM32 HAL timebase implementation.
STM32 RTC Scheduler
Definition in file stm32l4xx_hal_timebase.c.
HAL_StatusTypeDef HAL_InitTick | ( | uint32_t | TickPriority | ) |
This function configures the TIM17 as the HAL time base source.
The timer is configured to provide a 1 ms time base.
TickPriority | The tick interrupt priority. |
HAL_OK | upon success. |
Definition at line 33 of file stm32l4xx_hal_timebase.c.
void HAL_ResumeTick | ( | void | ) |
Resume the tick increment.
This function resumes the tick increment by enabling the timer update interrupt.
Definition at line 92 of file stm32l4xx_hal_timebase.c.
void HAL_SuspendTick | ( | void | ) |
Suspend the tick increment.
This function disables the tick increment by disabling the timer update interrupt.
Definition at line 81 of file stm32l4xx_hal_timebase.c.
TIM_HandleTypeDef htim17 |
TIM17 peripheral handle
Definition at line 20 of file stm32l4xx_hal_timebase.c.