libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
systick.c File Reference
Include dependency graph for systick.c:

Go to the source code of this file.

Functions

void systick_set_reload (uint32_t value)
 SysTick Set the Automatic Reload Value. More...
 
uint32_t systick_get_reload (void)
 SysTick Read the Automatic Reload Value. More...
 
bool systick_set_frequency (uint32_t freq, uint32_t ahb)
 SysTick Set clock and frequency of overflow. More...
 
uint32_t systick_get_value (void)
 Get the current SysTick counter value. More...
 
void systick_set_clocksource (uint8_t clocksource)
 Set the SysTick Clock Source. More...
 
void systick_interrupt_enable (void)
 Enable SysTick Interrupt. More...
 
void systick_interrupt_disable (void)
 Disable SysTick Interrupt. More...
 
void systick_counter_enable (void)
 Enable SysTick Counter. More...
 
void systick_counter_disable (void)
 Disable SysTick Counter. More...
 
uint8_t systick_get_countflag (void)
 SysTick Read the Counter Flag. More...
 
void systick_clear (void)
 SysTick Clear counter Value. More...
 
uint32_t systick_get_calib (void)
 SysTick Get Calibration Value. More...