39#define TIM_OR(tim_base) MMIO32((tim_base) + 0x50)
40#define TIM2_OR TIM_OR(TIM2)
41#define TIM5_OR TIM_OR(TIM5)
55#define TIM2_OR_ITR1_RMP_TIM8_TRGOU (0x0 << 10)
57#define TIM2_OR_ITR1_RMP_PTP (0x1 << 10)
59#define TIM2_OR_ITR1_RMP_OTG_FS_SOF (0x2 << 10)
61#define TIM2_OR_ITR1_RMP_OTG_HS_SOF (0x3 << 10)
63#define TIM2_OR_ITR1_RMP_MASK (0x3 << 10)
76#define TIM5_OR_TI4_RMP_GPIO (0x0 << 6)
78#define TIM5_OR_TI4_RMP_LSI (0x1 << 6)
80#define TIM5_OR_TI4_RMP_LSE (0x2 << 6)
82#define TIM5_OR_TI4_RMP_RTC (0x3 << 6)
84#define TIM5_OR_TI4_RMP_MASK (0x3 << 6)
tim_ic_id
Input Capture channel designators.
void timer_ic_set_polarity(uint32_t timer, enum tim_ic_id ic, enum tim_ic_pol pol)
Set Input Polarity.
tim_ic_pol
Input Capture input polarity.
void timer_set_option(uint32_t timer_peripheral, uint32_t option)