Struct esp32c2_hal::pac::i2c0::scl_high_period::R
pub struct R(_);
Expand description
Register SCL_HIGH_PERIOD
reader
Implementations§
§impl R
impl R
pub fn scl_high_period(&self) -> FieldReaderRaw<u16, u16>
pub fn scl_high_period(&self) -> FieldReaderRaw<u16, u16>
Bits 0:8 - This register is used to configure for how long SCL setup to high level and remains high in master mode, in I2C module clock cycles.
pub fn scl_wait_high_period(&self) -> FieldReaderRaw<u8, u8>
pub fn scl_wait_high_period(&self) -> FieldReaderRaw<u8, u8>
Bits 9:15 - This register is used to configure for the SCL_FSM’s waiting period for SCL high level in master mode, in I2C module clock cycles.
Methods from Deref<Target = R<SCL_HIGH_PERIOD_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<SCL_HIGH_PERIOD_SPEC>> for R
impl From<R<SCL_HIGH_PERIOD_SPEC>> for R
§fn from(reader: R<SCL_HIGH_PERIOD_SPEC>) -> R
fn from(reader: R<SCL_HIGH_PERIOD_SPEC>) -> R
Converts to this type from the input type.