Esp32/Components/spi_flash/include/esp_spi_flash.h
Go to the documentation of this file.
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:65
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:51
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:64
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:49
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:63
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:50
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:56
uint8_t flashmem_get_size_type()
Returns a number indicating the size of flash memory chip.
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:59
uint32_t flashmem_get_address(const void *memptr)
Obtain the flash memory address for a memory pointer.
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:57
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:47
uint32_t spi_flash_get_id(void)
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:52
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:67
uint32_t flashmem_find_sector(uint32_t address, uint32_t *pstart, uint32_t *pend)
Helper function: find the flash sector in which an address resides.
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:66
SPIFlashSize size
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:79
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:58
SPIFlashMode mode
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:77
uint32_t flashmem_write(const void *from, uint32_t toaddr, uint32_t size)
Write a block of data to flash.
SPI Flash memory information block. Copied from bootloader header. See esp_image_header_t.
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:76
uint32_t flashmem_get_sector_of_address(uint32_t addr)
Get sector number containing the given address.
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:48
SPIFlashSpeed speed
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:78
uint32_t flashmem_read(void *to, uint32_t fromaddr, uint32_t size)
Read a block of data from flash.