[][src]Enum nrf52832_pac::spis0::semstat::SEMSTAT_A

#[repr(u8)]
pub enum SEMSTAT_A {
    FREE,
    CPU,
    SPIS,
    CPUPENDING,
}

Semaphore status

Value on reset: 1

Variants

FREE

0: Semaphore is free

CPU

1: Semaphore is assigned to CPU

SPIS

2: Semaphore is assigned to SPI slave

CPUPENDING

3: Semaphore is assigned to SPI but a handover to the CPU is pending

Trait Implementations

impl Clone for SEMSTAT_A[src]

impl Copy for SEMSTAT_A[src]

impl Debug for SEMSTAT_A[src]

impl From<SEMSTAT_A> for u8[src]

impl PartialEq<SEMSTAT_A> for SEMSTAT_A[src]

impl StructuralPartialEq for SEMSTAT_A[src]

Auto Trait Implementations

impl Send for SEMSTAT_A

impl Sync for SEMSTAT_A

impl Unpin for SEMSTAT_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.