#[repr(u8)]pub enum Persel {
NONE = 0,
UART = 1,
SPI = 2,
I2C = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
UARTI2C = 7,
}Variants§
NONE = 0
No peripheral selected.
UART = 1
UART.
SPI = 2
SPI.
I2C = 3
I2C.
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
UARTI2C = 7
UART and I2C.
Implementations§
Trait Implementations§
Source§impl Ord for Persel
impl Ord for Persel
Source§impl PartialOrd for Persel
impl PartialOrd for Persel
impl Copy for Persel
impl Eq for Persel
impl StructuralPartialEq for Persel
Auto Trait Implementations§
impl Freeze for Persel
impl RefUnwindSafe for Persel
impl Send for Persel
impl Sync for Persel
impl Unpin for Persel
impl UnwindSafe for Persel
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