Type Alias esp32c6_lp::lp_i2c::to::W

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

Register TO writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn time_out_value(&mut self) -> TIME_OUT_VALUE_W<'_, TO_SPEC>

Bits 0:4 - This register is used to configure the timeout for receiving a data bit in APB clock cycles.

source

pub fn time_out_en(&mut self) -> TIME_OUT_EN_W<'_, TO_SPEC>

Bit 5 - This is the enable bit for time out control.

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