Type Alias esp32s2_ulp::rtc_i2c::cmd1::W

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

Register CMD1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn command1(&mut self) -> COMMAND1_W<'_, CMD1_SPEC>

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