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
impl 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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)