Type Alias esp32h2::i2c0::scl_rstart_setup::W

source ·
pub type W = W<SCL_RSTART_SETUP_SPEC>;
Expand description

Register SCL_RSTART_SETUP writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn time(&mut self) -> TIME_W<'_, SCL_RSTART_SETUP_SPEC>

Bits 0:8 - This register is used to configure the time between the positive edge of SCL and the negative edge of SDA for a RESTART condition, in I2C module clock cycles.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual