Home
last modified time | relevance | path

Searched refs:i2c_cmd_link_t (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/components/driver/
Di2c.c81 … sizeof(i2c_cmd_link_t) * 8) /* It is required to have allocate one i2c_cmd_desc_t per command:
111 } i2c_cmd_link_t; typedef
114 i2c_cmd_link_t *head; /*!< head of the command link */
115 i2c_cmd_link_t *cur; /*!< last node of the command link */
116 i2c_cmd_link_t *free; /*!< the first node to free of the command link */
123 _Static_assert(I2C_INTERNAL_STRUCT_SIZE >= sizeof(i2c_cmd_link_t),
1069 i2c_cmd_link_t *ptmp = cmd->free; in i2c_cmd_link_delete()
1129 err = i2c_cmd_allocate(cmd_desc, 1, sizeof(i2c_cmd_link_t), (void**) &cmd_desc->head); in i2c_cmd_link_append()
1138 err = i2c_cmd_allocate(cmd_desc, 1, sizeof(i2c_cmd_link_t), (void**) &cmd_desc->cur->next); in i2c_cmd_link_append()
1378 static bool is_cmd_link_buffer_internal(const i2c_cmd_link_t *link) in is_cmd_link_buffer_internal()
[all …]