Type Alias esp32s2_ulp::rtc_i2c::cmd2::R
source · pub type R = R<CMD2_SPEC>;
Expand description
Register CMD2
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn command2(&self) -> COMMAND2_R
pub fn command2(&self) -> COMMAND2_R
Bits 0:13 - Content of command 2. For more information, please refer to the register I2C_COMD2_REG in Chapter I²C Controller.
sourcepub fn command2_done(&self) -> COMMAND2_DONE_R
pub fn command2_done(&self) -> COMMAND2_DONE_R
Bit 31 - When command 2 is done, this bit changes to 1.