Searched refs:cmd_handle (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/components/driver/include/driver/ |
D | i2c.h | 312 void i2c_cmd_link_delete_static(i2c_cmd_handle_t cmd_handle); 320 void i2c_cmd_link_delete(i2c_cmd_handle_t cmd_handle); 335 esp_err_t i2c_master_start(i2c_cmd_handle_t cmd_handle); 353 esp_err_t i2c_master_write_byte(i2c_cmd_handle_t cmd_handle, uint8_t data, bool ack_en); 373 esp_err_t i2c_master_write(i2c_cmd_handle_t cmd_handle, const uint8_t *data, size_t data_len, bool … 392 esp_err_t i2c_master_read_byte(i2c_cmd_handle_t cmd_handle, uint8_t *data, i2c_ack_type_t ack); 412 esp_err_t i2c_master_read(i2c_cmd_handle_t cmd_handle, uint8_t *data, size_t data_len, i2c_ack_type… 427 esp_err_t i2c_master_stop(i2c_cmd_handle_t cmd_handle); 447 esp_err_t i2c_master_cmd_begin(i2c_port_t i2c_num, i2c_cmd_handle_t cmd_handle, TickType_t ticks_to…
|
/hal_espressif-3.6.0/components/driver/ |
D | i2c.c | 1047 void i2c_cmd_link_delete_static(i2c_cmd_handle_t cmd_handle) in i2c_cmd_link_delete_static() argument 1049 i2c_cmd_desc_t *cmd = (i2c_cmd_desc_t *) cmd_handle; in i2c_cmd_link_delete_static() 1057 void i2c_cmd_link_delete(i2c_cmd_handle_t cmd_handle) in i2c_cmd_link_delete() argument 1059 i2c_cmd_desc_t *cmd = (i2c_cmd_desc_t *) cmd_handle; in i2c_cmd_link_delete() 1076 free(cmd_handle); in i2c_cmd_link_delete() 1121 static esp_err_t i2c_cmd_link_append(i2c_cmd_handle_t cmd_handle, i2c_cmd_t *cmd) in i2c_cmd_link_append() argument 1124 i2c_cmd_desc_t *cmd_desc = (i2c_cmd_desc_t *) cmd_handle; in i2c_cmd_link_append() 1150 esp_err_t i2c_master_start(i2c_cmd_handle_t cmd_handle) in i2c_master_start() argument 1152 … ESP_RETURN_ON_FALSE(cmd_handle != NULL, ESP_ERR_INVALID_ARG, I2C_TAG, I2C_CMD_LINK_INIT_ERR_STR); in i2c_master_start() 1155 return i2c_cmd_link_append(cmd_handle, &cmd); in i2c_master_start() [all …]
|