WS2812 RMT Driver
API reference
Loading...
Searching...
No Matches
Macros
ws2812_rmt_caps.h File Reference

RMT resources the driver requests per strip (shared by the C and C++ APIs). More...

#include "soc/soc_caps.h"
Include dependency graph for ws2812_rmt_caps.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WS2812_RMT_MEM_BLOCK_SYMBOLS   SOC_RMT_MEM_WORDS_PER_CHANNEL
 

Detailed Description

RMT resources the driver requests per strip (shared by the C and C++ APIs).

Macro Definition Documentation

◆ WS2812_RMT_MEM_BLOCK_SYMBOLS

#define WS2812_RMT_MEM_BLOCK_SYMBOLS   SOC_RMT_MEM_WORDS_PER_CHANNEL

RMT channel memory requested per strip, in symbols: one memory block of the target (SOC_RMT_MEM_WORDS_PER_CHANNEL: 64 on ESP32 and ESP32-S2, 48 on ESP32-S3, C3, C6 and H2). Asking for more than one block makes the channel take its neighbour's block too, and the next strip then finds no free channel. Define it before including the driver to override.