Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/driver/
Di2c.c80 #define I2C_TRANS_BUF_MINIMUM_SIZE (sizeof(i2c_cmd_desc_t) + \
120 } i2c_cmd_desc_t; typedef
148 i2c_cmd_desc_t cmd_link; /*!< I2C command link */
1016 static inline bool i2c_cmd_link_is_static(i2c_cmd_desc_t *cmd_desc) in i2c_cmd_link_is_static()
1023 if (buffer == NULL || size <= sizeof(i2c_cmd_desc_t)) { in i2c_cmd_link_create_static()
1027 i2c_cmd_desc_t *cmd_desc = (i2c_cmd_desc_t *) buffer; in i2c_cmd_link_create_static()
1032 cmd_desc->free_size = size - sizeof(i2c_cmd_desc_t); in i2c_cmd_link_create_static()
1040 i2c_cmd_desc_t *cmd_desc = (i2c_cmd_desc_t *) calloc(1, sizeof(i2c_cmd_desc_t)); in i2c_cmd_link_create()
1042i2c_cmd_desc_t *cmd_desc = (i2c_cmd_desc_t *) heap_caps_calloc(1, sizeof(i2c_cmd_desc_t), MALLOC_C… in i2c_cmd_link_create()
1049 i2c_cmd_desc_t *cmd = (i2c_cmd_desc_t *) cmd_handle; in i2c_cmd_link_delete_static()
[all …]