#[repr(u8)]
pub enum MODER15_A {
Input,
Output,
Alternate,
Analog,
}
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: Input mode (reset state)
Output
1: General purpose output mode
Alternate
2: Alternate function mode
Analog
3: Analog mode
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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