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

type W = W<u32, FIFOCFG>;

Writer for register FIFOCFG

Methods

impl W[src]

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

Bit 0 - Enable the transmit FIFO.

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

Bit 1 - Enable the receive FIFO.

pub fn txi2se0(&mut self) -> TXI2SE0_W[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(&mut self) -> PACK48_W[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 dmatx(&mut self) -> DMATX_W[src]

Bit 12 - DMA configuration for transmit.

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

Bit 13 - DMA configuration for receive.

pub fn waketx(&mut self) -> WAKETX_W[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(&mut self) -> WAKERX_W[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(&mut self) -> EMPTYTX_W[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(&mut self) -> EMPTYRX_W[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(&mut self) -> POPDBG_W[src]

Bit 18 - Pop FIFO for debug reads.