[][src]Type Definition lpc54606_pac::i2s0::fifocfg::R

type R = R<u32, FIFOCFG>;

Reader of register FIFOCFG

Methods

impl R[src]

pub fn enabletx(&self) -> ENABLETX_R[src]

Bit 0 - Enable the transmit FIFO.

pub fn enablerx(&self) -> ENABLERX_R[src]

Bit 1 - Enable the receive FIFO.

pub fn txi2se0(&self) -> TXI2SE0_R[src]

Bit 2 - Transmit I2S empty 0. Determines the value sent by the I2S in transmit mode if the TX FIFO becomes empty. This value is sent repeatedly until the I2S is paused, the error is cleared, new data is provided, and the I2S is un-paused.

pub fn pack48(&self) -> PACK48_R[src]

Bit 3 - Packing format for 48-bit data. This relates to how data is entered into or taken from the FIFO by software or DMA.

pub fn size(&self) -> SIZE_R[src]

Bits 4:5 - FIFO size configuration. This is a read-only field. 0x0 = FIFO is configured as 16 entries of 8 bits. 0x1, 0x2, 0x3 = not applicable to USART.

pub fn dmatx(&self) -> DMATX_R[src]

Bit 12 - DMA configuration for transmit.

pub fn dmarx(&self) -> DMARX_R[src]

Bit 13 - DMA configuration for receive.

pub fn waketx(&self) -> WAKETX_R[src]

Bit 14 - Wake-up for transmit FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register.

pub fn wakerx(&self) -> WAKERX_R[src]

Bit 15 - Wake-up for receive FIFO level. This allows the device to be woken from reduced power modes (up to power-down, as long as the peripheral function works in that power mode) without enabling the TXLVL interrupt. Only DMA wakes up, processes data, and goes back to sleep. The CPU will remain stopped until woken by another cause, such as DMA completion. See Hardware Wake-up control register.

pub fn emptytx(&self) -> EMPTYTX_R[src]

Bit 16 - Empty command for the transmit FIFO. When a 1 is written to this bit, the TX FIFO is emptied.

pub fn emptyrx(&self) -> EMPTYRX_R[src]

Bit 17 - Empty command for the receive FIFO. When a 1 is written to this bit, the RX FIFO is emptied.

pub fn popdbg(&self) -> POPDBG_R[src]

Bit 18 - Pop FIFO for debug reads.