pub struct LL_TIM_BDTR_InitTypeDef {
Show 13 fields pub OSSRState: u32, pub OSSIState: u32, pub LockLevel: u32, pub DeadTime: u8, pub BreakState: u16, pub BreakPolarity: u32, pub BreakFilter: u32, pub BreakAFMode: u32, pub Break2State: u32, pub Break2Polarity: u32, pub Break2Filter: u32, pub Break2AFMode: u32, pub AutomaticOutput: u32,
}
Expand description

@brief BDTR (Break and Dead Time) structure definition

Fields

OSSRState: u32

< Specifies the Off-State selection used in Run mode. This parameter can be a value of @ref TIM_LL_EC_OSSR

This feature can be modified afterwards using unitary function @ref LL_TIM_SetOffStates()

@note This bit-field cannot be modified as long as LOCK level 2 has been programmed.

OSSIState: u32

< Specifies the Off-State used in Idle state. This parameter can be a value of @ref TIM_LL_EC_OSSI

This feature can be modified afterwards using unitary function @ref LL_TIM_SetOffStates()

@note This bit-field cannot be modified as long as LOCK level 2 has been programmed.

LockLevel: u32

< Specifies the LOCK level parameters. This parameter can be a value of @ref TIM_LL_EC_LOCKLEVEL

@note The LOCK bits can be written only once after the reset. Once the TIMx_BDTR register has been written, their content is frozen until the next reset.

DeadTime: u8

< Specifies the delay time between the switching-off and the switching-on of the outputs. This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF.

This feature can be modified afterwards using unitary function @ref LL_TIM_OC_SetDeadTime()

@note This bit-field can not be modified as long as LOCK level 1, 2 or 3 has been programmed.

BreakState: u16

< Specifies whether the TIM Break input is enabled or not. This parameter can be a value of @ref TIM_LL_EC_BREAK_ENABLE

This feature can be modified afterwards using unitary functions @ref LL_TIM_EnableBRK() or @ref LL_TIM_DisableBRK()

@note This bit-field can not be modified as long as LOCK level 1 has been programmed.

BreakPolarity: u32

< Specifies the TIM Break Input pin polarity. This parameter can be a value of @ref TIM_LL_EC_BREAK_POLARITY

This feature can be modified afterwards using unitary function @ref LL_TIM_ConfigBRK()

@note This bit-field can not be modified as long as LOCK level 1 has been programmed.

BreakFilter: u32

< Specifies the TIM Break Filter. This parameter can be a value of @ref TIM_LL_EC_BREAK_FILTER

This feature can be modified afterwards using unitary function @ref LL_TIM_ConfigBRK()

@note This bit-field can not be modified as long as LOCK level 1 has been programmed.

BreakAFMode: u32

< Specifies the alternate function mode of the break input. This parameter can be a value of @ref TIM_LL_EC_BREAK_AFMODE

This feature can be modified afterwards using unitary functions @ref LL_TIM_ConfigBRK()

@note Bidirectional break input is only supported by advanced timers instances.

@note This bit-field can not be modified as long as LOCK level 1 has been programmed.

Break2State: u32

< Specifies whether the TIM Break2 input is enabled or not. This parameter can be a value of @ref TIM_LL_EC_BREAK2_ENABLE

This feature can be modified afterwards using unitary functions @ref LL_TIM_EnableBRK2() or @ref LL_TIM_DisableBRK2()

@note This bit-field can not be modified as long as LOCK level 1 has been programmed.

Break2Polarity: u32

< Specifies the TIM Break2 Input pin polarity. This parameter can be a value of @ref TIM_LL_EC_BREAK2_POLARITY

This feature can be modified afterwards using unitary function @ref LL_TIM_ConfigBRK2()

@note This bit-field can not be modified as long as LOCK level 1 has been programmed.

Break2Filter: u32

< Specifies the TIM Break2 Filter. This parameter can be a value of @ref TIM_LL_EC_BREAK2_FILTER

This feature can be modified afterwards using unitary function @ref LL_TIM_ConfigBRK2()

@note This bit-field can not be modified as long as LOCK level 1 has been programmed.

Break2AFMode: u32

< Specifies the alternate function mode of the break2 input. This parameter can be a value of @ref TIM_LL_EC_BREAK2_AFMODE

This feature can be modified afterwards using unitary functions @ref LL_TIM_ConfigBRK2()

@note Bidirectional break input is only supported by advanced timers instances.

@note This bit-field can not be modified as long as LOCK level 1 has been programmed.

AutomaticOutput: u32

< Specifies whether the TIM Automatic Output feature is enabled or not. This parameter can be a value of @ref TIM_LL_EC_AUTOMATICOUTPUT_ENABLE

This feature can be modified afterwards using unitary functions @ref LL_TIM_EnableAutomaticOutput() or @ref LL_TIM_DisableAutomaticOutput()

@note This bit-field can not be modified as long as LOCK level 1 has been programmed.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.