|
@ -1143,6 +1143,12 @@ enum tim_et_pol { |
|
|
TIM_ET_FALLING, |
|
|
TIM_ET_FALLING, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
/** External clock mode 2 */ |
|
|
|
|
|
enum tim_ecm2_state { |
|
|
|
|
|
TIM_ECM2_DISABLED, |
|
|
|
|
|
TIM_ECM2_ENABLED, |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
/* --- TIM function prototypes --------------------------------------------- */ |
|
|
/* --- TIM function prototypes --------------------------------------------- */ |
|
|
|
|
|
|
|
|
BEGIN_DECLS |
|
|
BEGIN_DECLS |
|
@ -1233,6 +1239,8 @@ void timer_slave_set_prescaler(uint32_t timer, enum tim_ic_psc psc); |
|
|
void timer_slave_set_polarity(uint32_t timer, enum tim_et_pol pol); |
|
|
void timer_slave_set_polarity(uint32_t timer, enum tim_et_pol pol); |
|
|
void timer_slave_set_mode(uint32_t timer, uint8_t mode); |
|
|
void timer_slave_set_mode(uint32_t timer, uint8_t mode); |
|
|
void timer_slave_set_trigger(uint32_t timer, uint8_t trigger); |
|
|
void timer_slave_set_trigger(uint32_t timer, uint8_t trigger); |
|
|
|
|
|
void timer_slave_set_extclockmode2(uint32_t timer_peripheral, |
|
|
|
|
|
enum tim_ecm2_state state); |
|
|
|
|
|
|
|
|
END_DECLS |
|
|
END_DECLS |
|
|
|
|
|
|
|
|