10#ifndef M5_UNIT_COMPONENT_TYPES_HPP
11#define M5_UNIT_COMPONENT_TYPES_HPP
16#if defined(M5_UNIT_UNIFIED_USING_RMT_V2)
17#include <driver/rmt_types.h>
19#include <soc/rmt_struct.h>
21#include <driver/gpio.h>
70struct adapter_config_t {
72 gpio_num_t gpio_num{};
76 bool idle_level_high{};
85#if defined(M5_UNIT_UNIFIED_USING_RMT_V2)
86using m5_rmt_item_t = rmt_symbol_word_t;
88using m5_rmt_item_t = rmt_item32_t;
Identification of functions to be used.
Top level namespace of M5stack.
Definition test_helper.hpp:18
Type and enumerator definitions.
unsigned long elapsed_time_t
Elapsed time unit (ms)
Definition types.hpp:33
uint32_t attr_t
Component attribute bits.
Definition types.hpp:32
uint32_t uid_t
Component unique identifier.
Definition types.hpp:31
constexpr attr_t AccessGPIO
GPIO Accessible Unit.
Definition types.hpp:39
constexpr attr_t AccessI2C
I2C Accessible Unit.
Definition types.hpp:38
Mode
Pin mode.
Definition types.hpp:50