Type Definition esp32s2::i2c0::comd::COMMAND_R

source · []
pub type COMMAND_R = FieldReader<u16, u16>;
Expand description

Field COMMAND reader - This is the content of command 0. It consists of three parts: op_code is the command, 0: RSTART. 1: WRITE. 2: READ. 3: STOP. 4: END. byte_num represents the number of bytes that need to be sent or received. ack_check_en, ack_exp and ack are used to control the ACK bit. See I2C cmd structure for more information.