pub struct R(_);
Expand description
Register FIFOCFG
reader
Implementations
sourceimpl R
impl R
sourcepub fn enabletx(&self) -> ENABLETX_R
pub fn enabletx(&self) -> ENABLETX_R
Bit 0 - Enable the transmit FIFO.
sourcepub fn enablerx(&self) -> ENABLERX_R
pub fn enablerx(&self) -> ENABLERX_R
Bit 1 - Enable the receive FIFO.
sourcepub fn txi2se0(&self) -> TXI2SE0_R
pub fn txi2se0(&self) -> TXI2SE0_R
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.
sourcepub fn pack48(&self) -> PACK48_R
pub fn pack48(&self) -> PACK48_R
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.
sourcepub fn size(&self) -> SIZE_R
pub fn size(&self) -> SIZE_R
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.
sourcepub fn waketx(&self) -> WAKETX_R
pub fn waketx(&self) -> WAKETX_R
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.
sourcepub fn wakerx(&self) -> WAKERX_R
pub fn wakerx(&self) -> WAKERX_R
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.
Methods from Deref<Target = R<FIFOCFG_SPEC>>
Trait Implementations
sourceimpl From<R<FIFOCFG_SPEC>> for R
impl From<R<FIFOCFG_SPEC>> for R
sourcefn from(reader: R<FIFOCFG_SPEC>) -> Self
fn from(reader: R<FIFOCFG_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more