/hal_espressif-3.6.0/components/driver/test/ |
D | test_i2s.c | 220 size_t bytes_read = 0; variable 235 …i2s_read(I2S_NUM_0, i2s_read_buff + length, sizeof(uint8_t) * 500, &bytes_read, 1000 / portMAX_DEL… 236 if (bytes_read > 0) { 237 for (int i = length; i < length + bytes_read; i++) { 245 length = length + bytes_read; 287 size_t bytes_read = 0; variable 302 …i2s_read(I2S_NUM_0, i2s_read_buff + length, sizeof(uint8_t) * 500, &bytes_read, 1000 / portMAX_DEL… 303 if (bytes_read > 0) { 304 for (int i = length; i < length + bytes_read; i++) { 312 length = length + bytes_read; [all …]
|
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/ |
D | ecc_platform_specific.c | 93 ssize_t bytes_read = read(fd, ptr, left); in default_CSPRNG() local 94 if (bytes_read <= 0) { // read failed in default_CSPRNG() 98 left -= bytes_read; in default_CSPRNG() 99 ptr += bytes_read; in default_CSPRNG()
|
/hal_espressif-3.6.0/components/bootloader/subproject/components/micro-ecc/micro-ecc/ |
D | platform-specific.inc | 55 ssize_t bytes_read = read(fd, ptr, left); 56 if (bytes_read <= 0) { // read failed 60 left -= bytes_read; 61 ptr += bytes_read;
|
/hal_espressif-3.6.0/examples/peripherals/i2s/i2s_audio_recorder_sdcard/main/ |
D | i2s_recorder_main.c | 41 size_t bytes_read; variable 149 i2s_read(CONFIG_EXAMPLE_I2S_CH, (char *)i2s_readraw_buff, SAMPLE_SIZE, &bytes_read, 100); in record_wav() 151 fwrite(i2s_readraw_buff, 1, bytes_read, f); in record_wav() 152 flash_wr_size += bytes_read; in record_wav()
|
/hal_espressif-3.6.0/examples/peripherals/i2s/i2s_es8311/main/ |
D | i2s_es8311_example.c | 159 size_t bytes_read = 0; in i2s_echo() local 166 ret = i2s_read(I2S_NUM, mic_data, EXAMPLE_RECV_BUF_SIZE, &bytes_read, 100); in i2s_echo() 177 if (bytes_read != bytes_write) { in i2s_echo() 178 … ESP_LOGW(TAG, "[echo] %d bytes read but only %d bytes are written", bytes_read, bytes_write); in i2s_echo()
|
/hal_espressif-3.6.0/components/driver/test/adc_dma_test/ |
D | test_esp32.c | 116 size_t bytes_read = 0; in adc_dma_read() local 122 …XAMPLE_I2S_NUM, (void *) buf + flash_wr_size, length - flash_wr_size, &bytes_read, portMAX_DELAY) … in adc_dma_read() 123 flash_wr_size += bytes_read; in adc_dma_read()
|
/hal_espressif-3.6.0/components/esp_https_ota/src/ |
D | esp_https_ota.c | 296 int data_read = 0, bytes_read = 0; in read_header() local 303 (handle->ota_upgrade_buf + bytes_read), in read_header() 314 bytes_read += data_read; in read_header() 320 handle->binary_file_len = bytes_read; in read_header()
|
/hal_espressif-3.6.0/components/esp_system/port/soc/esp32s3/ |
D | usb_console.c | 348 int bytes_read = cdc_acm_fifo_read(s_cdc_acm_device, (uint8_t*) buf, buf_size); in esp_usb_console_read_buf() local 349 return bytes_read; in esp_usb_console_read_buf()
|
/hal_espressif-3.6.0/examples/peripherals/i2s/i2s_adc_dac/main/ |
D | app_main.c | 212 size_t bytes_read, bytes_written; in example_i2s_adc_dac() local 221 i2s_read(EXAMPLE_I2S_NUM, (void*) i2s_read_buff, i2s_read_len, &bytes_read, portMAX_DELAY); in example_i2s_adc_dac()
|
/hal_espressif-3.6.0/components/esp_system/port/soc/esp32s2/ |
D | usb_console.c | 348 int bytes_read = cdc_acm_fifo_read(s_cdc_acm_device, (uint8_t*) buf, buf_size); in esp_usb_console_read_buf() local 349 return bytes_read; in esp_usb_console_read_buf()
|
/hal_espressif-3.6.0/components/driver/include/driver/ |
D | i2s.h | 329 esp_err_t i2s_read(i2s_port_t i2s_num, void *dest, size_t size, size_t *bytes_read, TickType_t tick…
|
/hal_espressif-3.6.0/components/driver/ |
D | i2s.c | 2167 esp_err_t i2s_read(i2s_port_t i2s_num, void *dest, size_t size, size_t *bytes_read, TickType_t tick… in i2s_read() argument 2171 *bytes_read = 0; in i2s_read() 2196 (*bytes_read) += bytes_can_read; in i2s_read()
|