Type Definition esp32c6::i2c0::comd::COMMAND_W

source ·
pub type COMMAND_W<'a, const O: u8> = FieldWriter<'a, COMD_SPEC, 14, O, u16>;
Expand description

Field COMMAND writer - 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.