libNeon
Loading...
Searching...
No Matches
rmt.cpp File Reference
#include <neo/rmt.hpp>
#include <chrono>
#include <esp_log.h>
Include dependency graph for rmt.cpp:

Namespaces

namespace  neo
 
namespace  neo::timings
 

Macros

#define RMT_NEOPX_TAG   "RMT-NEOPX"
 

Typedefs

using neo::timings::nanosec = std::chrono::nanoseconds
 

Functions

rmt_item32_t neo::timings::make_rmt_item_bit (nanosec h, nanosec l, std::uint32_t hz, bool inverted)
 
const char * neo::to_string (controller c)
 
rmt_config_t neo::make_rmt_config (rmt_channel_t channel, gpio_num_t gpio)
 
std::pair< rmt_item32_t, rmt_item32_t > neo::make_zero_one (rmt_manager const &manager, controller chip, bool inverted)
 

Variables

static constexpr auto neo::timings::ws2812_0h = 400ns
 
static constexpr auto neo::timings::ws2812_0l = 850ns
 
static constexpr auto neo::timings::ws2812_1h = 800ns
 
static constexpr auto neo::timings::ws2812_1l = 450ns
 
static constexpr auto neo::timings::ws2811_0h = 500ns
 
static constexpr auto neo::timings::ws2811_0l = 2000ns
 
static constexpr auto neo::timings::ws2811_1h = 1200ns
 
static constexpr auto neo::timings::ws2811_1l = 1300ns
 
static constexpr auto neo::rmt_config_neopixel_default
 

Macro Definition Documentation

◆ RMT_NEOPX_TAG

#define RMT_NEOPX_TAG   "RMT-NEOPX"