Struct esp32c3_hal::pac::uart0::idle_conf::W
pub struct W(_);
Expand description
Register IDLE_CONF
writer
Implementations
impl W
impl W
pub fn rx_idle_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, IDLE_CONF_SPEC, u16, u16, Unsafe, 10, 0>
pub fn rx_idle_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, IDLE_CONF_SPEC, u16, u16, Unsafe, 10, 0>
Bits 0:9 - It will produce frame end signal when receiver takes more time to receive one byte data than this register value.
pub fn tx_idle_num(
&mut self
) -> FieldWriterRaw<'_, u32, IDLE_CONF_SPEC, u16, u16, Unsafe, 10, 10>
pub fn tx_idle_num(
&mut self
) -> FieldWriterRaw<'_, u32, IDLE_CONF_SPEC, u16, u16, Unsafe, 10, 10>
Bits 10:19 - This register is used to configure the duration time between transfers.
Methods from Deref<Target = W<IDLE_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.
Trait Implementations
impl From<W<IDLE_CONF_SPEC>> for W
impl From<W<IDLE_CONF_SPEC>> for W
fn from(writer: W<IDLE_CONF_SPEC>) -> W
fn from(writer: W<IDLE_CONF_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