Type Alias esp32s2::rtc_i2c::cmd::W

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

Register CMD%s writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn command(&mut self) -> COMMAND_W<'_, CMD_SPEC>

Bits 0:13 - Content of command 0. For more information, please refer to the register I2C_COMD0_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