Struct esp32_hal::pac::rtc_i2c::scl_low_period::W
pub struct W(_);
Expand description
Register SCL_LOW_PERIOD
writer
Implementations§
§impl W
impl W
pub fn scl_low_period(
&mut self
) -> FieldWriterRaw<'_, u32, SCL_LOW_PERIOD_SPEC, u32, u32, Unsafe, 25, 0>
pub fn scl_low_period(
&mut self
) -> FieldWriterRaw<'_, u32, SCL_LOW_PERIOD_SPEC, u32, u32, Unsafe, 25, 0>
Bits 0:24 - number of cycles that scl == 0
Methods from Deref<Target = W<SCL_LOW_PERIOD_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<SCL_LOW_PERIOD_SPEC>> for W
impl From<W<SCL_LOW_PERIOD_SPEC>> for W
§fn from(writer: W<SCL_LOW_PERIOD_SPEC>) -> W
fn from(writer: W<SCL_LOW_PERIOD_SPEC>) -> W
Converts to this type from the input type.