pub struct R(_);
Expand description
Register FIFO_CONF
reader
Implementations§
source§impl R
impl R
sourcepub fn rxfifo_wm_thrhd(&self) -> RXFIFO_WM_THRHD_R
pub fn rxfifo_wm_thrhd(&self) -> RXFIFO_WM_THRHD_R
Bits 0:3 - The water mark threshold of rx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and rx FIFO counter is bigger than reg_rxfifo_wm_thrhd[3:0], reg_rxfifo_wm_int_raw bit will be valid.
sourcepub fn txfifo_wm_thrhd(&self) -> TXFIFO_WM_THRHD_R
pub fn txfifo_wm_thrhd(&self) -> TXFIFO_WM_THRHD_R
Bits 5:8 - The water mark threshold of tx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and tx FIFO counter is smaller than reg_txfifo_wm_thrhd[3:0], reg_txfifo_wm_int_raw bit will be valid.
sourcepub fn nonfifo_en(&self) -> NONFIFO_EN_R
pub fn nonfifo_en(&self) -> NONFIFO_EN_R
Bit 10 - Set this bit to enable APB nonfifo access.
sourcepub fn rx_fifo_rst(&self) -> RX_FIFO_RST_R
pub fn rx_fifo_rst(&self) -> RX_FIFO_RST_R
Bit 12 - Set this bit to reset rx-fifo.
sourcepub fn tx_fifo_rst(&self) -> TX_FIFO_RST_R
pub fn tx_fifo_rst(&self) -> TX_FIFO_RST_R
Bit 13 - Set this bit to reset tx-fifo.
sourcepub fn fifo_prt_en(&self) -> FIFO_PRT_EN_R
pub fn fifo_prt_en(&self) -> FIFO_PRT_EN_R
Bit 14 - The control enable bit of FIFO pointer in non-fifo access mode. This bit controls the valid bits and the interrupts of tx/rx_fifo overflow, underflow, full and empty.
Methods from Deref<Target = R<FIFO_CONF_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more