#[repr(u8)]pub enum AFSEL0 {
Af0 = 0,
Af1 = 1,
Af2 = 2,
Af3 = 3,
Af4 = 4,
Af5 = 5,
Af6 = 6,
Af7 = 7,
}
Expand description
Alternate function selection for port x bit y (y = 0..7)
Value on reset: 0
Variants§
Af0 = 0
0: AF0
Af1 = 1
1: AF1
Af2 = 2
2: AF2
Af3 = 3
3: AF3
Af4 = 4
4: AF4
Af5 = 5
5: AF5
Af6 = 6
6: AF6
Af7 = 7
7: AF7
Trait Implementations§
impl Copy for AFSEL0
impl Eq for AFSEL0
impl IsEnum for AFSEL0
impl StructuralPartialEq for AFSEL0
Auto Trait Implementations§
impl Freeze for AFSEL0
impl RefUnwindSafe for AFSEL0
impl Send for AFSEL0
impl Sync for AFSEL0
impl Unpin for AFSEL0
impl UnwindSafe for AFSEL0
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