Type Alias esp32s2::rtc_i2c::cmd::R

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

Register CMD%s reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn command(&self) -> COMMAND_R

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 fn command_done(&self) -> COMMAND_DONE_R

Bit 31 - When command 0 is done, this bit changes to 1.