pub struct R(_);
Expand description
Register MEM_CONF
reader
Implementations
sourceimpl R
impl R
sourcepub fn mem_pd(&self) -> MEM_PD_R
pub fn mem_pd(&self) -> MEM_PD_R
Bit 0 - Set this bit to power down mem.when reg_mem_pd registers in the 3 uarts are all set to 1 mem will enter low power mode.
sourcepub fn rx_size(&self) -> RX_SIZE_R
pub fn rx_size(&self) -> RX_SIZE_R
Bits 3:6 - This register is used to configure the amount of mem allocated to receiver’s fifo. the default byte num is 128.
sourcepub fn tx_size(&self) -> TX_SIZE_R
pub fn tx_size(&self) -> TX_SIZE_R
Bits 7:10 - This register is used to configure the amount of mem allocated to transmitter’s fifo.the default byte num is 128.
sourcepub fn rx_flow_thrhd_h3(&self) -> RX_FLOW_THRHD_H3_R
pub fn rx_flow_thrhd_h3(&self) -> RX_FLOW_THRHD_H3_R
Bits 15:17 - refer to the rx_flow_thrhd’s describtion.
sourcepub fn rx_tout_thrhd_h3(&self) -> RX_TOUT_THRHD_H3_R
pub fn rx_tout_thrhd_h3(&self) -> RX_TOUT_THRHD_H3_R
Bits 18:20 - refer to the rx_tout_thrhd’s describtion.
sourcepub fn xon_threshold_h2(&self) -> XON_THRESHOLD_H2_R
pub fn xon_threshold_h2(&self) -> XON_THRESHOLD_H2_R
Bits 21:22 - refer to the uart_xon_threshold’s describtion.
sourcepub fn xoff_threshold_h2(&self) -> XOFF_THRESHOLD_H2_R
pub fn xoff_threshold_h2(&self) -> XOFF_THRESHOLD_H2_R
Bits 23:24 - refer to the uart_xoff_threshold’s describtion.
sourcepub fn rx_mem_full_thrhd(&self) -> RX_MEM_FULL_THRHD_R
pub fn rx_mem_full_thrhd(&self) -> RX_MEM_FULL_THRHD_R
Bits 25:27 - refer to the rxfifo_full_thrhd’s describtion.
sourcepub fn tx_mem_empty_thrhd(&self) -> TX_MEM_EMPTY_THRHD_R
pub fn tx_mem_empty_thrhd(&self) -> TX_MEM_EMPTY_THRHD_R
Bits 28:30 - refer to txfifo_empty_thrhd ’s describtion.
Methods from Deref<Target = R<MEM_CONF_SPEC>>
Trait Implementations
sourceimpl From<R<MEM_CONF_SPEC>> for R
impl From<R<MEM_CONF_SPEC>> for R
sourcefn from(reader: R<MEM_CONF_SPEC>) -> Self
fn from(reader: R<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