Struct flipperzero_sys::LL_COMP_InitTypeDef
source · #[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
Re-export bindings Structure definition of some features of COMP instance.
Fields§
§PowerMode: u32Set 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: u32Set 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: u32Set 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: u32Set 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: u32Set 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: u32Set 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