i2c_master_start() function
Queue a "START signal" to the given commands list. This function shall only be called in I2C master mode. Call `i2c_master_cmd_begin()` to send all the queued commands.
Arguments
cmd_handle
I2C commands list
Return value
- ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error - ESP_ERR_NO_MEM The static buffer used to create `cmd_handler` is too small - ESP_FAIL No more memory left on the heap
i2c_master_start() is called by 5 functions and calls 3 functions:
![]()
i2c_master_start()
i2c_master_start() reads 7 variables and writes 1 variable:
![]()
i2c_master_start()