void TIM_SelectOnePulseMode(TIM_TypeDef* TIMx, uint_t16 TIM_OPMode)
TIM_OPMode | 説明 |
TIM_OPMode_Single | TIM single One-pulse mode. |
TIM_OPMode_Repetitive | TIM repetitive One-pulse mode. |
/* Selects the single One-pulse mode for TIM1 */ TIM_SelectOnePulseMode(TIM1, TIM_OPMode_Single);