#[repr(C)]pub struct TIM_BreakDeadTimeConfigTypeDef {
pub OffStateRunMode: u32,
pub OffStateIDLEMode: u32,
pub LockLevel: u32,
pub DeadTime: u32,
pub BreakState: u32,
pub BreakPolarity: u32,
pub BreakFilter: u32,
pub AutomaticOutput: u32,
}
Expand description
@brief TIM Break input(s) and Dead time configuration Structure definition @note 2 break inputs can be configured (BKIN and BKIN2) with configurable filter and polarity.
Fields§
§OffStateRunMode: u32
< TIM off state in run mode This parameter can be a value of @ref TIM_OSSR_Off_State_Selection_for_Run_mode_state
OffStateIDLEMode: u32
< TIM off state in IDLE mode This parameter can be a value of @ref TIM_OSSI_Off_State_Selection_for_Idle_mode_state
LockLevel: u32
< TIM Lock level This parameter can be a value of @ref TIM_Lock_level
DeadTime: u32
< TIM dead Time This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF
BreakState: u32
< TIM Break State This parameter can be a value of @ref TIM_Break_Input_enable_disable
BreakPolarity: u32
< TIM Break input polarity This parameter can be a value of @ref TIM_Break_Polarity
BreakFilter: u32
< Specifies the break input filter. This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF
AutomaticOutput: u32
< TIM Automatic Output Enable state This parameter can be a value of @ref TIM_AOE_Bit_Set_Reset
Trait Implementations§
Source§impl Clone for TIM_BreakDeadTimeConfigTypeDef
impl Clone for TIM_BreakDeadTimeConfigTypeDef
Source§fn clone(&self) -> TIM_BreakDeadTimeConfigTypeDef
fn clone(&self) -> TIM_BreakDeadTimeConfigTypeDef
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more