Home
last modified time | relevance | path

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

/hal_espressif-3.5.0/components/spi_flash/
Dflash_ops.c640 uint32_t read_buf[ESP_ROM_SPIFLASH_BUFF_BYTE_READ_NUM / sizeof(uint32_t)]; in spi_flash_write_encrypted() local
642 for(int i = 0; i < size; i += sizeof(read_buf)) { in spi_flash_write_encrypted()
644 int32_t read_len = MIN(sizeof(read_buf), remaining); in spi_flash_write_encrypted()
647 esp_err_t err = spi_flash_read(dest_addr + i, read_buf, read_len); in spi_flash_write_encrypted()
655 uint32_t before = read_buf[r / sizeof(uint32_t)]; in spi_flash_write_encrypted()
674 err = spi_flash_read_encrypted(dest_addr + i, read_buf, read_len); in spi_flash_write_encrypted()
683 uint32_t actual = read_buf[r_w]; in spi_flash_write_encrypted()
779 uint32_t read_buf[8]; in spi_flash_read() local
783 read_size = MIN(read_size, sizeof(read_buf)); in spi_flash_read()
784 read_dst = (uint8_t *) read_buf; in spi_flash_read()
[all …]
/hal_espressif-3.5.0/components/driver/test/
Dtest_adc.c157 uint8_t* read_buf = malloc(buffer_size);
158 TEST_ASSERT_NOT_NULL(read_buf);
173 memset(read_buf, 0xce, buffer_size);
190 TEST_ESP_OK(adc_digi_read_bytes(read_buf + already_got*output_data_size,
197 adc_digi_output_data_t *p = (void*)read_buf;
221 free(read_buf);
/hal_espressif-3.5.0/components/protocomm/src/transports/
Dprotocomm_ble.c103 static const uint8_t *read_buf = NULL; in transport_simple_ble_read() local
112 status = esp_ble_gatts_get_attr_value(param->read.handle, &read_len, &read_buf); in transport_simple_ble_read()
127 if (gatt_rsp.attr_value.len && read_buf) { in transport_simple_ble_read()
129 read_buf + param->read.offset, in transport_simple_ble_read()
136 read_buf = NULL; in transport_simple_ble_read()