Module esp32_hal::pac::i2c0::comd

Expand description

Structs

This register you can read, write_with_zero, reset, write, modify. See API.
Register COMD%s reader
Register COMD%s writer

Type Definitions

Field COMMAND_DONE reader - When command0 is done in I2C Master mode this bit changes to high level.
Field COMMAND_DONE writer - When command0 is done in I2C Master mode this bit changes to high level.
Field COMMAND reader - This is the content of command0. It consists of three part. op_code is the command 0: RSTART 1: WRITE 2: READ 3: STOP . 4:END. Byte_num represent the number of data need to be send or data need to be received. ack_check_en ack_exp and ack value are used to control the ack bit.
Field COMMAND writer - This is the content of command0. It consists of three part. op_code is the command 0: RSTART 1: WRITE 2: READ 3: STOP . 4:END. Byte_num represent the number of data need to be send or data need to be received. ack_check_en ack_exp and ack value are used to control the ack bit.