#[repr(u8)]pub enum MODER5_A {
Input = 0,
Output = 1,
Alternate = 2,
Analog = 3,
}
Expand description
1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
Value on reset: 3
Variants§
Input = 0
0: Input mode (reset state)
Output = 1
1: General purpose output mode
Alternate = 2
2: Alternate function mode
Analog = 3
3: Analog mode
Trait Implementations§
source§impl PartialEq for MODER0_A
impl PartialEq for MODER0_A
impl Copy for MODER0_A
impl StructuralPartialEq for MODER0_A
Auto Trait Implementations§
impl RefUnwindSafe for MODER0_A
impl Send for MODER0_A
impl Sync for MODER0_A
impl Unpin for MODER0_A
impl UnwindSafe for MODER0_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