[−][src]Type Definition esp32::i2c::i2c_comd8_reg::W
type W = W<u32, I2C_COMD8_REG>;
Writer for register I2C_COMD8_REG
Methods
impl W
[src]
pub fn i2c_command8_done(&mut self) -> I2C_COMMAND8_DONE_W
[src]
Bit 31 - When command8 is done in I2C Master mode this bit changes to high level.
pub fn i2c_command8(&mut self) -> I2C_COMMAND8_W
[src]
Bits 0:13 - This is the content of command8. 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.