pub type R = R<COMD_SPEC>;
Expand description
Register COMD%s
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn byte_num(&self) -> BYTE_NUM_R
pub fn byte_num(&self) -> BYTE_NUM_R
Bits 0:7 - Number of bytes to be sent or received for command %s.
Sourcepub fn ack_check_en(&self) -> ACK_CHECK_EN_R
pub fn ack_check_en(&self) -> ACK_CHECK_EN_R
Bit 8 - Acknowledge check enable for command %s.
Sourcepub fn ack_value(&self) -> ACK_VALUE_R
pub fn ack_value(&self) -> ACK_VALUE_R
Bit 10 - Acknowledge value for command %s.
Sourcepub fn command_done(&self) -> COMMAND_DONE_R
pub fn command_done(&self) -> COMMAND_DONE_R
Bit 31 - When command 0 is done in I2C Master mode, this bit changes to high level.