[][src]Type Definition lpc54606_pac::spi0::stat::R

type R = R<u32, STAT>;

Reader of register STAT

Methods

impl R[src]

pub fn stalled(&self) -> STALLED_R[src]

Bit 6 - Stalled status flag. This indicates whether the SPI is currently in a stall condition.

pub fn endtransfer(&self) -> ENDTRANSFER_R[src]

Bit 7 - End Transfer control bit. Software can set this bit to force an end to the current transfer when the transmitter finishes any activity already in progress, as if the EOT flag had been set prior to the last transmission. This capability is included to support cases where it is not known when transmit data is written that it will be the end of a transfer. The bit is cleared when the transmitter becomes idle as the transfer comes to an end. Forcing an end of transfer in this manner causes any specified FRAME_DELAY and TRANSFER_DELAY to be inserted.

pub fn mstidle(&self) -> MSTIDLE_R[src]

Bit 8 - Master idle status flag. This bit is 1 whenever the SPI master function is fully idle. This means that the transmit holding register is empty and the transmitter is not in the process of sending data.