Type Alias esp32s2_ulp::rtc_i2c::cmd2::W

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

Register CMD2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn command2(&mut self) -> COMMAND2_W<'_, CMD2_SPEC>

Bits 0:13 - Content of command 2. For more information, please refer to the register I2C_COMD2_REG in Chapter I²C Controller.

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