Enum stm32wlxx_hal::pac::comp::comp2_csr::INMSEL_A
#[repr(u8)]pub enum INMSEL_A {
OneQuarterVref = 0,
OneHalfVref = 1,
ThreeQuarterVref = 2,
Vref = 3,
DacCh1 = 4,
Pb3 = 6,
Gpio = 7,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
Comparator 2 input minus selection bits
Value on reset: 0
Variants§
OneQuarterVref = 0
0: 1/4 of VRefint
OneHalfVref = 1
1: 1/2 of VRefint
ThreeQuarterVref = 2
2: 3/4 of VRefint
Vref = 3
3: VRefint
DacCh1 = 4
4: DAC Channel 1
Pb3 = 6
6: PB3
Gpio = 7
7: GPIO pin selected by INMESEL
Trait Implementations§
impl Copy for INMSEL_A
impl StructuralPartialEq for INMSEL_A
Auto Trait Implementations§
impl RefUnwindSafe for INMSEL_A
impl Send for INMSEL_A
impl Sync for INMSEL_A
impl Unpin for INMSEL_A
impl UnwindSafe for INMSEL_A
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
Mutably borrows from an owned value. Read more