Struct atsam4e8c_pac::spi::sr::R

source ·
pub struct R(_);
Expand description

Register SR reader

Implementations§

Bit 0 - Receive Data Register Full

Bit 1 - Transmit Data Register Empty

Bit 2 - Mode Fault Error

Bit 3 - Overrun Error Status

Bit 4 - End of RX Buffer

Bit 5 - End of TX Buffer

Bit 6 - RX Buffer Full

Bit 7 - TX Buffer Empty

Bit 8 - NSS Rising

Bit 9 - Transmission Registers Empty

Bit 10 - Underrun Error Status (Slave mode Only)

Bit 16 - SPI Enable Status

Methods from Deref<Target = R<SR_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.