Enum stm32_metapac::gpio::vals::CnfIn
#[repr(u8)]pub enum CnfIn {
ANALOG = 0,
FLOATING = 1,
PULL = 2,
_RESERVED_3 = 3,
}
Variants§
ANALOG = 0
Analog mode
FLOATING = 1
Floating input (reset state)
PULL = 2
Input with pull-up/pull-down
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for CnfIn
impl Ord for CnfIn
§impl PartialOrd for CnfIn
impl PartialOrd for CnfIn
impl Copy for CnfIn
impl Eq for CnfIn
impl StructuralPartialEq for CnfIn
Auto Trait Implementations§
impl Freeze for CnfIn
impl RefUnwindSafe for CnfIn
impl Send for CnfIn
impl Sync for CnfIn
impl Unpin for CnfIn
impl UnwindSafe for CnfIn
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
)