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
12
extern
"C"
{
13
#endif
14
18
typedef
struct
{
19
uint32_t
resolution
;
20
}
led_strip_encoder_config_t
;
21
32
esp_err_t
rmt_new_led_strip_encoder
(
const
led_strip_encoder_config_t
* config,
33
rmt_encoder_handle_t* ret_encoder);
34
35
#ifdef __cplusplus
36
}
37
#endif
rmt_new_led_strip_encoder
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
led_strip_encoder_config_t
Type of led strip encoder configuration.
Definition
led_strip_encoder.h:18
led_strip_encoder_config_t::resolution
uint32_t resolution
Definition
led_strip_encoder.h:19
inc
led_strip_encoder.h
Generated by
1.10.0