Struct esp32c2_hal::pac::i2c0::to::W
pub struct W(_);
Expand description
Register TO
writer
Implementations§
§impl W
impl W
pub fn time_out_value(
&mut self
) -> FieldWriterRaw<'_, u32, TO_SPEC, u8, u8, Unsafe, 5, 0>
pub fn time_out_value(
&mut self
) -> FieldWriterRaw<'_, u32, TO_SPEC, u8, u8, Unsafe, 5, 0>
Bits 0:4 - This register is used to configure the timeout for receiving a data bit in APB clock cycles.
pub fn time_out_en(&mut self) -> BitWriterRaw<'_, u32, TO_SPEC, bool, BitM, 5>
pub fn time_out_en(&mut self) -> BitWriterRaw<'_, u32, TO_SPEC, bool, BitM, 5>
Bit 5 - This is the enable bit for time out control.
Methods from Deref<Target = W<TO_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.