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

Go to the source code of this file.

Macros

#define HAS_DEAD_TIME_INSERTION(timer)   (timer == TIMER0)
 

Functions

void timer_start (uint32_t timer)
 Start timer. More...
 
void timer_stop (uint32_t timer)
 Stop timer. More...
 
void timer_set_clock_prescaler (uint32_t timer, uint32_t presc)
 Clock division factor. More...
 
void timer_set_top (uint32_t timer, uint32_t top)
 Start timer top value the timer reload after it reaches top value. More...