FastLED 3.9.15
Loading...
Searching...
No Matches
fl::HeapInfo Struct Reference

Detailed Description

Heap memory information.

Provides separate tracking for SRAM and PSRAM (if available)

Definition at line 16 of file heap.h.

#include <heap.h>

Public Member Functions

bool has_psram () const
 Check if PSRAM is available.
 
fl::size total () const
 Total free heap (SRAM + PSRAM)
 

Public Attributes

fl::size free_psram
 Free PSRAM in bytes (external slower memory, 0 if not available)
 
fl::size free_sram
 Free SRAM in bytes (internal fast memory)
 

The documentation for this struct was generated from the following file: