#[repr(u8)]
pub enum CNF0_A {
PushPull,
OpenDrain,
AltPushPull,
AltOpenDrain,
}
Expand description
Port n.0 configuration bits
Value on reset: 1
Variants
PushPull
0: Analog mode / Push-Pull mode
OpenDrain
1: Floating input (reset state) / Open Drain-Mode
AltPushPull
2: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
AltOpenDrain
3: Alternate Function Open-Drain Mode
Trait Implementations
impl Copy for CNF0_A
impl StructuralPartialEq for CNF0_A
Auto Trait Implementations
impl RefUnwindSafe for CNF0_A
impl Send for CNF0_A
impl Sync for CNF0_A
impl Unpin for CNF0_A
impl UnwindSafe for CNF0_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more