pub struct R(_);
Expand description
Register MEM_CONF
reader
Implementations§
§impl R
impl R
pub fn mem_pd(&self) -> BitReaderRaw<bool>
pub fn mem_pd(&self) -> BitReaderRaw<bool>
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.
pub fn rx_size(&self) -> FieldReaderRaw<u8, u8>
pub fn rx_size(&self) -> FieldReaderRaw<u8, u8>
Bits 3:6 - This register is used to configure the amount of mem allocated to receiver’s fifo. the default byte num is 128.
pub fn tx_size(&self) -> FieldReaderRaw<u8, u8>
pub fn tx_size(&self) -> FieldReaderRaw<u8, u8>
Bits 7:10 - This register is used to configure the amount of mem allocated to transmitter’s fifo.the default byte num is 128.
pub fn rx_flow_thrhd_h3(&self) -> FieldReaderRaw<u8, u8>
pub fn rx_flow_thrhd_h3(&self) -> FieldReaderRaw<u8, u8>
Bits 15:17 - refer to the rx_flow_thrhd’s describtion.
pub fn rx_tout_thrhd_h3(&self) -> FieldReaderRaw<u8, u8>
pub fn rx_tout_thrhd_h3(&self) -> FieldReaderRaw<u8, u8>
Bits 18:20 - refer to the rx_tout_thrhd’s describtion.
pub fn xon_threshold_h2(&self) -> FieldReaderRaw<u8, u8>
pub fn xon_threshold_h2(&self) -> FieldReaderRaw<u8, u8>
Bits 21:22 - refer to the uart_xon_threshold’s describtion.
pub fn xoff_threshold_h2(&self) -> FieldReaderRaw<u8, u8>
pub fn xoff_threshold_h2(&self) -> FieldReaderRaw<u8, u8>
Bits 23:24 - refer to the uart_xoff_threshold’s describtion.
pub fn rx_mem_full_thrhd(&self) -> FieldReaderRaw<u8, u8>
pub fn rx_mem_full_thrhd(&self) -> FieldReaderRaw<u8, u8>
Bits 25:27 - refer to the rxfifo_full_thrhd’s describtion.
pub fn tx_mem_empty_thrhd(&self) -> FieldReaderRaw<u8, u8>
pub fn tx_mem_empty_thrhd(&self) -> FieldReaderRaw<u8, u8>
Bits 28:30 - refer to txfifo_empty_thrhd ’s describtion.
Methods from Deref<Target = R<MEM_CONF_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.