pub struct W(_);
Expand description
Register FIFOTRIG
writer
Implementations
sourceimpl W
impl W
sourcepub fn txlvlena(&mut self) -> TXLVLENA_W<'_>
pub fn txlvlena(&mut self) -> TXLVLENA_W<'_>
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(&mut self) -> RXLVLENA_W<'_>
pub fn rxlvlena(&mut self) -> RXLVLENA_W<'_>
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(&mut self) -> TXLVL_W<'_>
pub fn txlvl(&mut self) -> TXLVL_W<'_>
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(&mut self) -> RXLVL_W<'_>
pub fn rxlvl(&mut self) -> RXLVL_W<'_>
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 = W<FIFOTRIG_SPEC>>
Trait Implementations
sourceimpl From<W<FIFOTRIG_SPEC>> for W
impl From<W<FIFOTRIG_SPEC>> for W
sourcefn from(writer: W<FIFOTRIG_SPEC>) -> Self
fn from(writer: W<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