Type Alias esp32c6::i2c0::sda_sample::W

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

Register SDA_SAMPLE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:8 - This register is used to configure for how long SDA is sampled, 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