Searched refs:data_wr (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.6.0/components/driver/test/ |
D | test_i2c.c | 83 static esp_err_t i2c_master_write_slave(i2c_port_t i2c_num, uint8_t *data_wr, size_t size) in i2c_master_write_slave() argument 88 TEST_ESP_OK(i2c_master_write(cmd, data_wr, size, ACK_CHECK_EN)); in i2c_master_write_slave() 208 uint8_t *data_wr = (uint8_t *) malloc(DATA_LENGTH); 220 data_wr[i] = i; 222 i2c_master_write_slave(I2C_MASTER_NUM, data_wr, RW_TEST_LENGTH); 230 free(data_wr); 236 uint8_t *data_wr = (uint8_t *) malloc(DATA_LENGTH); 244 data_wr[i] = i; 250 i2c_master_write_slave(I2C_MASTER_NUM, data_wr, RW_TEST_LENGTH); 255 i2c_master_write_slave(I2C_MASTER_NUM, data_wr, RW_TEST_LENGTH); [all …]
|
D | test_i2s.c | 218 uint8_t *data_wr = (uint8_t *)malloc(sizeof(uint8_t) * 400); variable 225 data_wr[i] = i + 1; 230 … i2s_write(I2S_NUM_0, data_wr, sizeof(uint8_t) * 400, &i2s_bytes_write, 1000 / portTICK_PERIOD_MS); 251 free(data_wr); 285 uint8_t *data_wr = (uint8_t *)malloc(sizeof(uint8_t) * 400); variable 292 data_wr[i] = i + 1; 297 … i2s_write(I2S_NUM_0, data_wr, sizeof(uint8_t) * 400, &i2s_bytes_write, 1000 / portTICK_PERIOD_MS); 318 free(data_wr); 392 uint8_t *data_wr = (uint8_t *)malloc(sizeof(uint8_t) * 400); variable 399 data_wr[i] = i + 1; [all …]
|
/hal_espressif-3.6.0/examples/peripherals/i2c/i2c_self_test/main/ |
D | i2c_example_main.c | 93 …t __attribute__((unused)) i2c_master_write_slave(i2c_port_t i2c_num, uint8_t *data_wr, size_t size) in i2c_master_write_slave() argument 98 i2c_master_write(cmd, data_wr, size, ACK_CHECK_EN); in i2c_master_write_slave() 211 uint8_t *data_wr = (uint8_t *)malloc(DATA_LENGTH); in i2c_test_task() local 267 data_wr[i] = i + 10; in i2c_test_task() 271 ret = i2c_master_write_slave(I2C_MASTER_NUM, data_wr, RW_TEST_LENGTH); in i2c_test_task() 282 disp_buf(data_wr, RW_TEST_LENGTH); in i2c_test_task()
|