Enum stm32_metapac::gpio::vals::CnfOut
#[repr(u8)]pub enum CnfOut {
PUSHPULL = 0,
OPENDRAIN = 1,
ALTPUSHPULL = 2,
ALTOPENDRAIN = 3,
}
Variants§
PUSHPULL = 0
Push-Pull mode
OPENDRAIN = 1
Open Drain-Mode
ALTPUSHPULL = 2
Alternate Function Push-Pull Mode
ALTOPENDRAIN = 3
Alternate Function Open-Drain Mode
Implementations§
Trait Implementations§
§impl Ord for CnfOut
impl Ord for CnfOut
§impl PartialOrd for CnfOut
impl PartialOrd for CnfOut
§fn partial_cmp(&self, other: &CnfOut) -> Option<Ordering>
fn partial_cmp(&self, other: &CnfOut) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CnfOut
impl Eq for CnfOut
impl StructuralPartialEq for CnfOut
Auto Trait Implementations§
impl Freeze for CnfOut
impl RefUnwindSafe for CnfOut
impl Send for CnfOut
impl Sync for CnfOut
impl Unpin for CnfOut
impl UnwindSafe for CnfOut
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