[][src]Type Definition lpc54606_pac::spi0::fifostat::W

type W = W<u32, FIFOSTAT>;

Writer for register FIFOSTAT

Methods

impl W[src]

pub fn txerr(&mut self) -> TXERR_W[src]

Bit 0 - TX FIFO error. Will be set if a transmit FIFO error occurs. This could be an overflow caused by pushing data into a full FIFO, or by an underflow if the FIFO is empty when data is needed. Cleared by writing a 1 to this bit.

pub fn rxerr(&mut self) -> RXERR_W[src]

Bit 1 - RX FIFO error. Will be set if a receive FIFO overflow occurs, caused by software or DMA not emptying the FIFO fast enough. Cleared by writing a 1 to this bit.