#[repr(C)]pub struct LL_COMP_InitTypeDef {
pub PowerMode: u32,
pub InputPlus: u32,
pub InputMinus: u32,
pub InputHysteresis: u32,
pub OutputPolarity: u32,
pub OutputBlankingSource: u32,
}
Expand description
Structure definition of some features of COMP instance.
Fields§
§PowerMode: u32
< Set comparator operating mode to adjust power and speed. This parameter can be a value of COMP_LL_EC_POWERMODE
This feature can be modified afterwards using unitary function LL_COMP_SetPowerMode().
InputPlus: u32
< Set comparator input plus (non-inverting input). This parameter can be a value of COMP_LL_EC_INPUT_PLUS
This feature can be modified afterwards using unitary function LL_COMP_SetInputPlus().
InputMinus: u32
< Set comparator input minus (inverting input). This parameter can be a value of COMP_LL_EC_INPUT_MINUS
This feature can be modified afterwards using unitary function LL_COMP_SetInputMinus().
InputHysteresis: u32
< Set comparator hysteresis mode of the input minus. This parameter can be a value of COMP_LL_EC_INPUT_HYSTERESIS
This feature can be modified afterwards using unitary function LL_COMP_SetInputHysteresis().
OutputPolarity: u32
< Set comparator output polarity. This parameter can be a value of COMP_LL_EC_OUTPUT_POLARITY
This feature can be modified afterwards using unitary function LL_COMP_SetOutputPolarity().
OutputBlankingSource: u32
< Set comparator blanking source. This parameter can be a value of COMP_LL_EC_OUTPUT_BLANKING_SOURCE
This feature can be modified afterwards using unitary function LL_COMP_SetOutputBlankingSource().
Trait Implementations§
Source§impl Clone for LL_COMP_InitTypeDef
impl Clone for LL_COMP_InitTypeDef
Source§fn clone(&self) -> LL_COMP_InitTypeDef
fn clone(&self) -> LL_COMP_InitTypeDef
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more