#[repr(u8)]pub enum SEMSTAT_A {
FREE = 0,
CPU = 1,
SPIS = 2,
CPUPENDING = 3,
}
Expand description
Semaphore status
Value on reset: 1
Variants§
FREE = 0
0: Semaphore is free
CPU = 1
1: Semaphore is assigned to CPU
SPIS = 2
2: Semaphore is assigned to SPI slave
CPUPENDING = 3
3: Semaphore is assigned to SPI but a handover to the CPU is pending
Trait Implementations§
impl Copy for SEMSTAT_A
impl StructuralPartialEq for SEMSTAT_A
Auto Trait Implementations§
impl Freeze for SEMSTAT_A
impl RefUnwindSafe for SEMSTAT_A
impl Send for SEMSTAT_A
impl Sync for SEMSTAT_A
impl Unpin for SEMSTAT_A
impl UnwindSafe for SEMSTAT_A
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