InES Hardware Abstraction Layer
Enumerations | Functions
hal_systick.h File Reference

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.
 

Detailed Description

Interface of module hal_systick.

$Id$

Enumeration Type Documentation

◆ hal_systick_clk_t

Available clocks for the systick timer.

Enumerator
HAL_RCC_CLK_HCLK 

< HCLK / 8.

Function Documentation

◆ hal_systick_init()

void hal_systick_init ( hal_systick_clk_t  clock,
uint32_t  reload 
)

Initializes the SysTick timer.

Parameters
clock: Define used clock.
reload: 24 bit reload value.