45 TIM_CCER(timer_peripheral) &= ~(0xa << (ic * 4));
50 TIM_CCER(timer_peripheral) |= (0xa << (ic * 4));
53 TIM_CCER(timer_peripheral) |= (0x2 << (ic * 4));
#define TIM_CCER(tim_base)
tim_ic_id
Input Capture channel designators.
void timer_ic_set_polarity(uint32_t timer_peripheral, enum tim_ic_id ic, enum tim_ic_pol pol)
Set Input Polarity.
tim_ic_pol
Input Capture input polarity.