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 #668 background imageLoading...
Page #668 background image
Chapter 2. API Reference
handle: Handle of an ESSL device.
ena_mask_o: Output of interrupt bit enable mask.
wait_ms: Millisecond to wait before timeout, will not wait at all if set to 0-9.
esp_err_t essl_send_slave_intr(essl_handle_t handle, uint32_t intr_mask, uint32_t wait_ms)
Send interrupts to slave. Each bit of the interrupt will be triggered.
Return
ESP_OK: Success
ESP_ERR_NOT_SUPPORTED: Current device does not support this function.
One of the error codes from SDMMC host controller
Parameters
handle: Handle of an ESSL device.
intr_mask: Mask of interrupt bits to send to slave.
wait_ms: Millisecond to wait before timeout, will not wait at all if set to 0-9.
Type Definitions
typedef struct essl_dev_t *essl_handle_t
Handle of an ESSL device.
Header File
components/esp_serial_slave_link/include/esp_serial_slave_link/essl_sdio.h
Functions
esp_err_t essl_sdio_init_dev(essl_handle_t *out_handle, const essl_sdio_config_t *config)
Initialize the ESSL SDIO device and get its handle.
Return
ESP_OK: on success
ESP_ERR_NO_MEM: memory exhausted.
Parameters
out_handle: Output of the handle.
config: Configuration for the ESSL SDIO device.
esp_err_t essl_sdio_deinit_dev(essl_handle_t handle)
Deinitialize and free the space used by the ESSL SDIO device.
Return
ESP_OK: on success
ESP_ERR_INVALID_ARG: wrong handle passed
Parameters
handle: Handle of the ESSL SDIO device to deinit.
Structures
struct essl_sdio_config_t
Configuration for the ESSL SDIO device.
Public Members
sdmmc_card_t *card
The initialized sdmmc card pointer of the slave.
int recv_buffer_size
The pre-negotiated recv buffer size used by both the host and the slave.
Espressif Systems 657
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