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 #1026 background imageLoading...
Page #1026 background image
Chapter 2. API Reference
Note that the returned value may be larger than the maximum contiguous block which can be allocated.
Return Available heap size, in bytes.
uint32_t esp_get_free_internal_heap_size(void)
Get the size of available internal heap.
Note that the returned value may be larger than the maximum contiguous block which can be allocated.
Return Available internal heap size, in bytes.
uint32_t esp_get_minimum_free_heap_size(void)
Get the minimum heap that has ever been available.
Return Minimum free heap ever available
void esp_system_abort(const char *details)
Trigger a software abort.
Parameters
details: Details that will be displayed during panic handling.
Type Definitions
typedef void (*shutdown_handler_t)(void)
Shutdown handler type
Enumerations
enum esp_reset_reason_t
Reset reasons.
Values:
ESP_RST_UNKNOWN
Reset reason can not be determined.
ESP_RST_POWERON
Reset due to power-on event.
ESP_RST_EXT
Reset by external pin (not applicable for ESP32)
ESP_RST_SW
Software reset via esp_restart.
ESP_RST_PANIC
Software reset due to exception/panic.
ESP_RST_INT_WDT
Reset (software or hardware) due to interrupt watchdog.
ESP_RST_TASK_WDT
Reset due to task watchdog.
ESP_RST_WDT
Reset due to other watchdogs.
ESP_RST_DEEPSLEEP
Reset after exiting deep sleep mode.
ESP_RST_BROWNOUT
Brownout reset (software or hardware)
ESP_RST_SDIO
Reset over SDIO.
Espressif Systems 1015
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