Struct esp32c2_hal::pac::uart0::swfc_conf0::W
pub struct W(_);
Expand description
Register SWFC_CONF0
writer
Implementations
impl W
impl W
pub fn xoff_threshold(
&mut self
) -> FieldWriterRaw<'_, u32, SWFC_CONF0_SPEC, u16, u16, Unsafe, 9, 0>
pub fn xoff_threshold(
&mut self
) -> FieldWriterRaw<'_, u32, SWFC_CONF0_SPEC, u16, u16, Unsafe, 9, 0>
Bits 0:8 - When the data amount in Rx-FIFO is more than this register value with uart_sw_flow_con_en set to 1, it will send a Xoff char.
pub fn xoff_char(
&mut self
) -> FieldWriterRaw<'_, u32, SWFC_CONF0_SPEC, u8, u8, Unsafe, 8, 9>
pub fn xoff_char(
&mut self
) -> FieldWriterRaw<'_, u32, SWFC_CONF0_SPEC, u8, u8, Unsafe, 8, 9>
Bits 9:16 - This register stores the Xoff flow control char.
Methods from Deref<Target = W<SWFC_CONF0_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.
Trait Implementations
impl From<W<SWFC_CONF0_SPEC>> for W
impl From<W<SWFC_CONF0_SPEC>> for W
fn from(writer: W<SWFC_CONF0_SPEC>) -> W
fn from(writer: W<SWFC_CONF0_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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