#[repr(u8)]pub enum PortPcr2Mux {
Show 16 variants
Mux00 = 0,
Mux01 = 1,
Mux10 = 2,
Mux11 = 3,
Mux100 = 4,
Mux101 = 5,
Mux110 = 6,
Mux111 = 7,
Mux1000 = 8,
Mux1001 = 9,
Mux1010 = 10,
Mux1011 = 11,
Mux1100 = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
Mux00 = 0
Alternative 0 (GPIO).
Mux01 = 1
Alternative 1 (chip-specific).
Mux10 = 2
Alternative 2 (chip-specific).
Mux11 = 3
Alternative 3 (chip-specific).
Mux100 = 4
Alternative 4 (chip-specific).
Mux101 = 5
Alternative 5 (chip-specific).
Mux110 = 6
Alternative 6 (chip-specific).
Mux111 = 7
Alternative 7 (chip-specific).
Mux1000 = 8
Alternative 8 (chip-specific).
Mux1001 = 9
Alternative 9 (chip-specific).
Mux1010 = 10
Alternative 10 (chip-specific).
Mux1011 = 11
Alternative 11 (chip-specific).
Mux1100 = 12
Alternative 12 (chip-specific).
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Source§impl PortPcr2Mux
impl PortPcr2Mux
Trait Implementations§
Source§impl Clone for PortPcr2Mux
impl Clone for PortPcr2Mux
Source§fn clone(&self) -> PortPcr2Mux
fn clone(&self) -> PortPcr2Mux
Returns a duplicate 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 PortPcr2Mux
impl Debug for PortPcr2Mux
Source§impl From<PortPcr2Mux> for u8
impl From<PortPcr2Mux> for u8
Source§fn from(val: PortPcr2Mux) -> u8
fn from(val: PortPcr2Mux) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PortPcr2Mux
impl From<u8> for PortPcr2Mux
Source§fn from(val: u8) -> PortPcr2Mux
fn from(val: u8) -> PortPcr2Mux
Converts to this type from the input type.
Source§impl Ord for PortPcr2Mux
impl Ord for PortPcr2Mux
Source§fn cmp(&self, other: &PortPcr2Mux) -> Ordering
fn cmp(&self, other: &PortPcr2Mux) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PortPcr2Mux
impl PartialEq for PortPcr2Mux
Source§impl PartialOrd for PortPcr2Mux
impl PartialOrd for PortPcr2Mux
impl Copy for PortPcr2Mux
impl Eq for PortPcr2Mux
impl StructuralPartialEq for PortPcr2Mux
Auto Trait Implementations§
impl Freeze for PortPcr2Mux
impl RefUnwindSafe for PortPcr2Mux
impl Send for PortPcr2Mux
impl Sync for PortPcr2Mux
impl Unpin for PortPcr2Mux
impl UnwindSafe for PortPcr2Mux
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