InES Hardware Abstraction Layer
|
Interface of module hal_systick. More...
#include <stdint.h>
Go to the source code of this file.
Enumerations | |
enum | hal_systick_clk_t { HAL_RCC_CLK_HCLK8 = 0x0, HAL_RCC_CLK_HCLK = 0x1 } |
Available clocks for the systick timer. More... | |
Functions | |
void | hal_systick_reset (void) |
Resets all involved registers. | |
void | hal_systick_init (hal_systick_clk_t clock, uint32_t reload) |
Initializes the SysTick timer. More... | |
void | hal_systick_pause (void) |
Pauses the SysTick timer. | |
void | hal_systick_resume (void) |
Resumes the SysTick timer. | |
Interface of module hal_systick.
enum hal_systick_clk_t |
void hal_systick_init | ( | hal_systick_clk_t | clock, |
uint32_t | reload | ||
) |
Initializes the SysTick timer.
clock | : Define used clock. |
reload | : 24 bit reload value. |