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
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 moresource§impl Debug for LL_COMP_InitTypeDef
impl Debug for LL_COMP_InitTypeDef
impl Copy for LL_COMP_InitTypeDef
Auto Trait Implementations§
impl Freeze for LL_COMP_InitTypeDef
impl RefUnwindSafe for LL_COMP_InitTypeDef
impl Send for LL_COMP_InitTypeDef
impl Sync for LL_COMP_InitTypeDef
impl Unpin for LL_COMP_InitTypeDef
impl UnwindSafe for LL_COMP_InitTypeDef
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)