pub struct R(_);
Expand description
Register FIFOTRIG
reader
Implementations
sourceimpl R
impl R
sourcepub fn txlvlena(&self) -> TXLVLENA_R
pub fn txlvlena(&self) -> TXLVLENA_R
Bit 0 - Transmit FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMATX in FIFOCFG is set.
sourcepub fn rxlvlena(&self) -> RXLVLENA_R
pub fn rxlvlena(&self) -> RXLVLENA_R
Bit 1 - Receive FIFO level trigger enable. This trigger will become an interrupt if enabled in FIFOINTENSET, or a DMA trigger if DMARX in FIFOCFG is set.
sourcepub fn txlvl(&self) -> TXLVL_R
pub fn txlvl(&self) -> TXLVL_R
Bits 8:11 - Transmit FIFO level trigger point. This field is used only when TXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the TX FIFO becomes empty. 1 = trigger when the TX FIFO level decreases to one entry. 15 = trigger when the TX FIFO level decreases to 15 entries (is no longer full).
sourcepub fn rxlvl(&self) -> RXLVL_R
pub fn rxlvl(&self) -> RXLVL_R
Bits 16:19 - Receive FIFO level trigger point. The RX FIFO level is checked when a new piece of data is received. This field is used only when RXLVLENA = 1. If enabled to do so, the FIFO level can wake up the device just enough to perform DMA, then return to the reduced power mode. See Hardware Wake-up control register. 0 = trigger when the RX FIFO has received one entry (is no longer empty). 1 = trigger when the RX FIFO has received two entries. 15 = trigger when the RX FIFO has received 16 entries (has become full).
Methods from Deref<Target = R<FIFOTRIG_SPEC>>
Trait Implementations
sourceimpl From<R<FIFOTRIG_SPEC>> for R
impl From<R<FIFOTRIG_SPEC>> for R
sourcefn from(reader: R<FIFOTRIG_SPEC>) -> Self
fn from(reader: R<FIFOTRIG_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