#[repr(u8)]pub enum ALTERNATE_FUNCTION {
Show 16 variants
Af0 = 0,
Af1 = 1,
Af2 = 2,
Af3 = 3,
Af4 = 4,
Af5 = 5,
Af6 = 6,
Af7 = 7,
Af8 = 8,
Af9 = 9,
Af10 = 10,
Af11 = 11,
Af12 = 12,
Af13 = 13,
Af14 = 14,
Af15 = 15,
}
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
Af8 = 8
8: AF8
Af9 = 9
9: AF9
Af10 = 10
10: AF10
Af11 = 11
11: AF11
Af12 = 12
12: AF12
Af13 = 13
13: AF13
Af14 = 14
14: AF14
Af15 = 15
15: AF15
Trait Implementations§
Source§impl Clone for ALTERNATE_FUNCTION
impl Clone for ALTERNATE_FUNCTION
Source§fn clone(&self) -> ALTERNATE_FUNCTION
fn clone(&self) -> ALTERNATE_FUNCTION
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ALTERNATE_FUNCTION
impl Debug for ALTERNATE_FUNCTION
Source§impl Format for ALTERNATE_FUNCTION
impl Format for ALTERNATE_FUNCTION
Source§impl From<ALTERNATE_FUNCTION> for u8
impl From<ALTERNATE_FUNCTION> for u8
Source§fn from(variant: ALTERNATE_FUNCTION) -> Self
fn from(variant: ALTERNATE_FUNCTION) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ALTERNATE_FUNCTION
impl PartialEq for ALTERNATE_FUNCTION
impl Copy for ALTERNATE_FUNCTION
impl Eq for ALTERNATE_FUNCTION
impl IsEnum for ALTERNATE_FUNCTION
impl StructuralPartialEq for ALTERNATE_FUNCTION
Auto Trait Implementations§
impl Freeze for ALTERNATE_FUNCTION
impl RefUnwindSafe for ALTERNATE_FUNCTION
impl Send for ALTERNATE_FUNCTION
impl Sync for ALTERNATE_FUNCTION
impl Unpin for ALTERNATE_FUNCTION
impl UnwindSafe for ALTERNATE_FUNCTION
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