#[repr(u8)]pub enum PinFunction {
JTag = 0,
Spi = 1,
Uart = 2,
I2c = 3,
Pwm = 4,
Sio = 5,
Pio0 = 6,
Pio1 = 7,
Clock = 8,
Usb = 9,
None = 31,
}Variants§
Trait Implementations§
Source§impl Clone for PinFunction
impl Clone for PinFunction
Source§fn clone(&self) -> PinFunction
fn clone(&self) -> PinFunction
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 moreimpl Copy for PinFunction
Auto Trait Implementations§
impl Freeze for PinFunction
impl RefUnwindSafe for PinFunction
impl Send for PinFunction
impl Sync for PinFunction
impl Unpin for PinFunction
impl UnwindSafe for PinFunction
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