Searched refs:cmd_link (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.6.0/components/esp_lcd/src/ |
D | esp_lcd_panel_io_i2c.c | 84 …i2c_cmd_handle_t cmd_link = i2c_cmd_link_create_static(i2c_panel_io->cmdlink_buffer, CMD_HANDLER_B… in panel_io_i2c_tx_buffer() local 85 ESP_GOTO_ON_FALSE(cmd_link, ESP_ERR_NO_MEM, err, TAG, "no mem for i2c cmd link"); in panel_io_i2c_tx_buffer() 86 ESP_GOTO_ON_ERROR(i2c_master_start(cmd_link), err, TAG, "issue start failed"); // start phase in panel_io_i2c_tx_buffer() 87 …ESP_GOTO_ON_ERROR(i2c_master_write_byte(cmd_link, (i2c_panel_io->dev_addr << 1) | I2C_MASTER_WRITE… in panel_io_i2c_tx_buffer() 88 …ESP_GOTO_ON_ERROR(i2c_master_write_byte(cmd_link, is_param ? i2c_panel_io->control_phase_cmd : i2c… in panel_io_i2c_tx_buffer() 93 …ESP_GOTO_ON_ERROR(i2c_master_write(cmd_link, cmds + (sizeof(cmds) - cmds_size), cmds_size, true), … in panel_io_i2c_tx_buffer() 97 …ESP_GOTO_ON_ERROR(i2c_master_write(cmd_link, buffer, buffer_size, true), err, TAG, "write data fai… in panel_io_i2c_tx_buffer() 100 ESP_GOTO_ON_ERROR(i2c_master_stop(cmd_link), err, TAG, "issue stop failed"); // stop phase in panel_io_i2c_tx_buffer() 101 …ESP_GOTO_ON_ERROR(i2c_master_cmd_begin(i2c_panel_io->i2c_bus_id, cmd_link, portMAX_DELAY), err, TA… in panel_io_i2c_tx_buffer() 102 i2c_cmd_link_delete_static(cmd_link); in panel_io_i2c_tx_buffer() [all …]
|
/hal_espressif-3.6.0/components/driver/ |
D | i2c.c | 148 i2c_cmd_desc_t cmd_link; /*!< I2C command link */ member 331 p_i2c->cmd_link.cur = NULL; in i2c_driver_install() 332 p_i2c->cmd_link.head = NULL; in i2c_driver_install() 333 p_i2c->cmd_link.free = NULL; in i2c_driver_install() 1278 if (p_i2c->cmd_link.head != NULL && p_i2c->status == I2C_STATUS_READ) { in i2c_master_cmd_begin_static() 1279 i2c_cmd_t *cmd = &p_i2c->cmd_link.head->cmd; in i2c_master_cmd_begin_static() 1288 p_i2c->cmd_link.head = p_i2c->cmd_link.head->next; in i2c_master_cmd_begin_static() 1289 p_i2c->cmd_link.head->cmd.bytes_used = 0; in i2c_master_cmd_begin_static() 1300 if (p_i2c->cmd_link.head == NULL) { in i2c_master_cmd_begin_static() 1301 p_i2c->cmd_link.cur = NULL; in i2c_master_cmd_begin_static() [all …]
|
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/include/ |
D | i2c_cxx.hpp | 465 I2CCommandLink cmd_link; in do_transfer() local 467 queue_cmd(cmd_link.handle, i2c_addr); in do_transfer() 469 CHECK_THROW_SPECIFIC(i2c_master_stop(cmd_link.handle), I2CException); in do_transfer() 471 …CHECK_THROW_SPECIFIC(i2c_master_cmd_begin(i2c_num, cmd_link.handle, driver_timeout / portTICK_RATE… in do_transfer()
|