#[repr(u8)]pub enum Persel {
NO_PERIPH_SELECTED = 0,
USART = 1,
SPI = 2,
I2C = 3,
I2S_TRANSMIT = 4,
I2S_RECEIVE = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
NO_PERIPH_SELECTED = 0
No peripheral selected.
USART = 1
USART function selected.
SPI = 2
SPI function selected.
I2C = 3
I2C function selected.
I2S_TRANSMIT = 4
I2S transmit function selected.
I2S_RECEIVE = 5
I2S receive function selected.
_RESERVED_6 = 6
_RESERVED_7 = 7
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