Struct lpc81x_pac::lpc811::spi0::intenset::R

source ·
pub struct R(_);
Expand description

Register INTENSET reader

Implementations§

Bit 0 - Determines whether an interrupt occurs when receiver data is available.

Bit 1 - Determines whether an interrupt occurs when the transmitter holding register is available.

Bit 2 - Determines whether an interrupt occurs when a receiver overrun occurs. This happens in slave mode when there is a need for the receiver to move newly received data to the RXDAT register when it is already in use. The interface prevents receiver overrun in Master mode by not allowing a new transmission to begin when a receiver overrun would otherwise occur.

Bit 3 - Determines whether an interrupt occurs when a transmitter underrun occurs. This happens in slave mode when there is a need to transmit data when none is available.

Bit 4 - Determines whether an interrupt occurs when the Slave Select is asserted.

Bit 5 - Determines whether an interrupt occurs when the Slave Select is deasserted.

Methods from Deref<Target = R<INTENSET_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.