pub struct W(_);
Expand description
Register MEM_CONF
writer
Implementations§
§impl W
impl W
pub fn mem_pd(&mut self) -> BitWriterRaw<'_, u32, MEM_CONF_SPEC, bool, BitM, 0>
pub fn mem_pd(&mut self) -> BitWriterRaw<'_, u32, MEM_CONF_SPEC, bool, BitM, 0>
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(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 4, 3>
pub fn rx_size(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 4, 3>
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(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 4, 7>
pub fn tx_size(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 4, 7>
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(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 3, 15>
pub fn rx_flow_thrhd_h3(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 3, 15>
Bits 15:17 - refer to the rx_flow_thrhd’s describtion.
pub fn rx_tout_thrhd_h3(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 3, 18>
pub fn rx_tout_thrhd_h3(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 3, 18>
Bits 18:20 - refer to the rx_tout_thrhd’s describtion.
pub fn xon_threshold_h2(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 2, 21>
pub fn xon_threshold_h2(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 2, 21>
Bits 21:22 - refer to the uart_xon_threshold’s describtion.
pub fn xoff_threshold_h2(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 2, 23>
pub fn xoff_threshold_h2(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 2, 23>
Bits 23:24 - refer to the uart_xoff_threshold’s describtion.
pub fn rx_mem_full_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 3, 25>
pub fn rx_mem_full_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 3, 25>
Bits 25:27 - refer to the rxfifo_full_thrhd’s describtion.
pub fn tx_mem_empty_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 3, 28>
pub fn tx_mem_empty_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_CONF_SPEC, u8, u8, Unsafe, 3, 28>
Bits 28:30 - refer to txfifo_empty_thrhd ’s describtion.
Methods from Deref<Target = W<MEM_CONF_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.