Type Alias esp32h2::i2c0::data::W

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

Register DATA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn fifo_rdata(&mut self) -> FIFO_RDATA_W<'_, DATA_SPEC, 0>

Bits 0:7 - The value of rx FIFO read data.

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