Esp32/Components/spi_flash/include/esp_spi_flash.h
Go to the documentation of this file.
uint32_t flashmem_get_address(const void *memptr)
Obtain the flash memory address for a memory pointer.
Definition: Rp2040/Components/spi_flash/include/esp_spi_flash.h:85
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:66
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:52
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:65
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:50
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:64
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:51
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:57
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:60
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:58
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:48
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:53
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:68
uint32_t spi_flash_get_id(void)
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:67
SPIFlashSize size
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:80
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:59
SPIFlashMode mode
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:78
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. Stored at the beginning of flash memory.
Definition: Rp2040/Components/spi_flash/include/esp_spi_flash.h:72
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:49
SPIFlashSpeed speed
Definition: Esp32/Components/spi_flash/include/esp_spi_flash.h:79
uint32_t flashmem_read(void *to, uint32_t fromaddr, uint32_t size)
Read a block of data from flash.
1.8.13