pub struct W(_);
Expand description
Register MEM_CONF
writer
Implementations
sourceimpl W
impl W
sourcepub fn rx_size(&mut self) -> RX_SIZE_W<'_>
pub fn rx_size(&mut self) -> RX_SIZE_W<'_>
Bits 1:3 - This register is used to configure the amount of RAM allocated for RX FIFO. The default number is 128 bytes.
sourcepub fn tx_size(&mut self) -> TX_SIZE_W<'_>
pub fn tx_size(&mut self) -> TX_SIZE_W<'_>
Bits 4:6 - This register is used to configure the amount of RAM allocated for TX FIFO. The default number is 128 bytes.
sourcepub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W<'_>
pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W<'_>
Bits 7:15 - This register is used to configure the maximum amount of data bytes that can be received when hardware flow control works.
sourcepub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W<'_>
pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W<'_>
Bits 16:25 - This register is used to configure the threshold time that the receiver takes to receive one byte, in the unit of bit time (the time it takes to transfer one bit). The UART_RXFIFO_TOUT_INT interrupt will be triggered when the receiver takes more time to receive one byte with UART RX_TOUT_EN set to 1.
sourcepub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W<'_>
pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W<'_>
Bit 26 - Set this bit to force power down UART RAM.
sourcepub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W<'_>
pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W<'_>
Bit 27 - Set this bit to force power up UART RAM.
Methods from Deref<Target = W<MEM_CONF_SPEC>>
Trait Implementations
sourceimpl From<W<MEM_CONF_SPEC>> for W
impl From<W<MEM_CONF_SPEC>> for W
sourcefn from(writer: W<MEM_CONF_SPEC>) -> Self
fn from(writer: W<MEM_CONF_SPEC>) -> Self
Converts to this type from the input type.
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