Type Definition esp32s2::i2c0::comd12::COMMAND12_W

source · []
pub type COMMAND12_W<'a, const O: u8> = FieldWriter<'a, u32, COMD12_SPEC, u16, u16, 14, O>;
Expand description

Field COMMAND12 writer - This is the content of command 12. 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.