#[repr(u8)]pub enum Diposelect {
Pad0 = 0,
Pad1 = 1,
Pad2 = 2,
Pad3 = 3,
}
Expand description
Data In Pinout
Value on reset: 0
Variants§
Pad0 = 0
0: SERCOM PAD[0] is used as data input
Pad1 = 1
1: SERCOM PAD[1] is used as data input
Pad2 = 2
2: SERCOM PAD[2] is used as data input
Pad3 = 3
3: SERCOM PAD[3] is used as data input
Trait Implementations§
Source§impl Clone for Diposelect
impl Clone for Diposelect
Source§fn clone(&self) -> Diposelect
fn clone(&self) -> Diposelect
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 Diposelect
impl Debug for Diposelect
Source§impl From<Diposelect> for u8
impl From<Diposelect> for u8
Source§fn from(variant: Diposelect) -> Self
fn from(variant: Diposelect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Diposelect
impl PartialEq for Diposelect
impl Copy for Diposelect
impl Eq for Diposelect
impl IsEnum for Diposelect
impl StructuralPartialEq for Diposelect
Auto Trait Implementations§
impl Freeze for Diposelect
impl RefUnwindSafe for Diposelect
impl Send for Diposelect
impl Sync for Diposelect
impl Unpin for Diposelect
impl UnwindSafe for Diposelect
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