HF-WS2812 Driver 0.1.0-dev
HF-WS2812 ESP32 RMT Driver
Loading...
Searching...
No Matches
led_strip_encoder.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#pragma once
7
8#include "driver/rmt_encoder.h"
9#include <stdint.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
18typedef struct {
19 uint32_t resolution;
21
33 rmt_encoder_handle_t* ret_encoder);
34
35#ifdef __cplusplus
36}
37#endif
esp_err_t rmt_new_led_strip_encoder(const led_strip_encoder_config_t *config, rmt_encoder_handle_t *ret_encoder)
Create RMT encoder for encoding LED strip pixels into RMT symbols.
Definition led_strip_encoder.c:74
Type of led strip encoder configuration.
Definition led_strip_encoder.h:18
uint32_t resolution
Definition led_strip_encoder.h:19