Struct esp32c3_hal::pac::i2c0::fifo_conf::W
pub struct W(_);
Expand description
Register FIFO_CONF
writer
Implementations
impl W
impl W
pub fn rxfifo_wm_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, FIFO_CONF_SPEC, u8, u8, Unsafe, 5, 0>
pub fn rxfifo_wm_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, FIFO_CONF_SPEC, u8, u8, Unsafe, 5, 0>
Bits 0:4 - reg_rxfifo_wm_thrhd
pub fn txfifo_wm_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, FIFO_CONF_SPEC, u8, u8, Unsafe, 5, 5>
pub fn txfifo_wm_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, FIFO_CONF_SPEC, u8, u8, Unsafe, 5, 5>
Bits 5:9 - reg_txfifo_wm_thrhd
pub fn nonfifo_en(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 10>
pub fn nonfifo_en(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 10>
Bit 10 - reg_nonfifo_en
pub fn fifo_addr_cfg_en(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 11>
pub fn fifo_addr_cfg_en(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 11>
Bit 11 - reg_fifo_addr_cfg_en
pub fn rx_fifo_rst(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 12>
pub fn rx_fifo_rst(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 12>
Bit 12 - reg_rx_fifo_rst
pub fn tx_fifo_rst(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 13>
pub fn tx_fifo_rst(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 13>
Bit 13 - reg_tx_fifo_rst
pub fn fifo_prt_en(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 14>
pub fn fifo_prt_en(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 14>
Bit 14 - reg_fifo_prt_en
Methods from Deref<Target = W<FIFO_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<FIFO_CONF_SPEC>> for W
impl From<W<FIFO_CONF_SPEC>> for W
fn from(writer: W<FIFO_CONF_SPEC>) -> W
fn from(writer: W<FIFO_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