#[repr(u8)]pub enum Ctl0 {
Input = 0,
Output = 1,
Alternate = 2,
Analog = 3,
}
Expand description
Pin 0 configuration bits
Value on reset: 0
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 Ctl0
impl PartialEq for Ctl0
impl Copy for Ctl0
impl Eq for Ctl0
impl StructuralPartialEq for Ctl0
Auto Trait Implementations§
impl Freeze for Ctl0
impl RefUnwindSafe for Ctl0
impl Send for Ctl0
impl Sync for Ctl0
impl Unpin for Ctl0
impl UnwindSafe for Ctl0
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