void TIM_SelectSlaveMode(TIM_TypeDef* TIMx, uint16_t TIM_SlaveMode)
TIM_SlaveMode | 説明 |
TIM_SlaveMode_Reset | - |
TIM_SlaveMode_Gated | - |
TIM_SlaveMode_Trigger | - |
TIM_SlaveMode_External1 | - |
/* Selects the Gated Mode as Slave Mode for TIM1 */ TIM_SelectSlaveMode(TIM1, TIM_SlaveMode_Gated);