EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #763 background imageLoading...
Page #763 background image
Chapter 2. API Reference
void *os_func_data
Pointer to argument for os-specific hooks. Left NULL and will be initialized with os_func.
esp_flash_io_mode_t read_mode
Configured SPI flash read mode. Set before esp_flash_init is called.
uint32_t size
Size of SPI flash in bytes. If 0, size will be detected during initialisation.
uint32_t chip_id
Detected chip id.
uint32_t busy : 1
This flag is used to verify chips status.
uint32_t reserved_flags : 31
reserved.
Macros
SPI_FLASH_YIELD_REQ_YIELD
SPI_FLASH_YIELD_REQ_SUSPEND
SPI_FLASH_YIELD_STA_RESUME
Type Definitions
typedef struct spi_flash_chip_t spi_flash_chip_t
typedef struct esp_flash_t esp_flash_t
Header File
components/hal/include/hal/spi_flash_types.h
Structures
struct spi_flash_trans_t
Definition of a common transaction. Also holds the return value.
Public Members
uint8_t reserved
Reserved, must be 0.
uint8_t mosi_len
Output data length, in bytes.
uint8_t miso_len
Input data length, in bytes.
uint8_t address_bitlen
Length of address in bits, set to 0 if command does not need an address.
uint32_t address
Address to perform operation on.
const uint8_t *mosi_data
Output data to salve.
uint8_t *miso_data
[out] Input data from slave, little endian
uint32_t flags
Flags for this transaction. Set to 0 for now.
Espressif Systems 752
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish