pub struct W(_);
Expand description
Register MEM_CONF
writer
Implementations§
source§impl W
impl W
sourcepub fn rx_size(&mut self) -> RX_SIZE_W<'_, 1>
pub fn rx_size(&mut self) -> RX_SIZE_W<'_, 1>
Bits 1:3 - This register is used to configure the amount of mem allocated for receive-FIFO. The default number is 128 bytes.
sourcepub fn tx_size(&mut self) -> TX_SIZE_W<'_, 4>
pub fn tx_size(&mut self) -> TX_SIZE_W<'_, 4>
Bits 4:6 - This register is used to configure the amount of mem allocated for transmit-FIFO. The default number is 128 bytes.
sourcepub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W<'_, 7>
pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W<'_, 7>
Bits 7:15 - This register is used to configure the maximum amount of data that can be received when hardware flow control works.
sourcepub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W<'_, 16>
pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W<'_, 16>
Bits 16:25 - This register is used to configure the threshold time that receiver takes to receive one byte. The rxfifo_tout_int interrupt will be trigger when the receiver takes more time to receive one byte with rx_tout_en set to 1.
sourcepub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W<'_, 26>
pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W<'_, 26>
Bit 26 - Set this bit to force power down UART memory.
sourcepub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W<'_, 27>
pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W<'_, 27>
Bit 27 - Set this bit to force power up UART memory.
Methods from Deref<Target = W<MEM_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