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

Go to the source code of this file.

Macros

#define TIM_OR(tim_base)   MMIO32((tim_base) + 0x50)
 
#define TIM2_OR   TIM_OR(TIM2)
 
#define TIM3_OR   TIM_OR(TIM3)
 
#define TIM2_OR_ITR1_RMP_TIM10_OC   (0x0 << 0)
 Internal Trigger 1 remapped to timer 10 output compare. More...
 
#define TIM2_OR_ITR1_RMP_TIM5_TGO   (0x1 << 0)
 Internal Trigger 1 remapped to timer 5 TGO. More...
 
#define TIM2_OR_ITR1_RMP_MASK   (0x1 << 0)
 
#define TIM3_OR_ITR2_RMP_TIM8_TRGOU   (0x0 << 0)
 Internal Trigger 1 remapped to timer 11 output compare. More...
 
#define TIM3_OR_ITR2_RMP_PTP   (0x1 << 0)
 Internal Trigger 1 remapped to timer 5 TGO. More...
 
#define TIM3_OR_ITR2_RMP_MASK   (0x1 << 0)
 

Functions

void timer_set_option (uint32_t timer_peripheral, uint32_t option)
 Set Timer Option. More...