金牌会员
 
- 积分
- 2106
- 金钱
- 2106
- 注册时间
- 2021-7-17
- 在线时间
- 659 小时
|
发表于 2021-11-17 11:34:35
|
显示全部楼层
- /**
- * @brief BDTR structure definition
- * [url=home.php?mod=space&uid=60778]@note[/url] This structure is used only with TIM1 and TIM8.
- */
- typedef struct
- {
- uint16_t TIM_OSSRState; /*!< Specifies the Off-State selection used in Run mode.
- This parameter can be a value of [url=home.php?mod=space&uid=203608]@Ref[/url] OSSR_Off_State_Selection_for_Run_mode_state */
- uint16_t TIM_OSSIState; /*!< Specifies the Off-State used in Idle state.
- This parameter can be a value of @ref OSSI_Off_State_Selection_for_Idle_mode_state */
- uint16_t TIM_LOCKLevel; /*!< Specifies the LOCK level parameters.
- This parameter can be a value of @ref Lock_level */
- uint16_t TIM_DeadTime; /*!< Specifies the delay time between the switching-off and the
- switching-on of the outputs.
- This parameter can be a number between 0x00 and 0xFF */
- uint16_t TIM_Break; /*!< Specifies whether the TIM Break input is enabled or not.
- This parameter can be a value of @ref Break_Input_enable_disable */
- uint16_t TIM_BreakPolarity; /*!< Specifies the TIM Break Input pin polarity.
- This parameter can be a value of @ref Break_Polarity */
- uint16_t TIM_AutomaticOutput; /*!< Specifies whether the TIM Automatic Output feature is enabled or not.
- This parameter can be a value of @ref TIM_AOE_Bit_Set_Reset */
- } TIM_BDTRInitTypeDef;
复制代码 |
|