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>
79struct adapter_config_t {
81 gpio_num_t gpio_num{};
85 bool idle_level_high{};
94#if defined(M5_UNIT_UNIFIED_USING_RMT_V2)
95using m5_rmt_item_t = rmt_symbol_word_t;
97using 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:42
uint32_t attr_t
Component attribute bits.
Definition types.hpp:41
uint32_t uid_t
Component unique identifier.
Definition types.hpp:40
constexpr attr_t AccessGPIO
GPIO Accessible Unit.
Definition types.hpp:48
constexpr attr_t AccessI2C
I2C Accessible Unit.
Definition types.hpp:47
Mode
Pin mode.
Definition types.hpp:59
category_t
Unit category (used for static class determination)
Definition types.hpp:35
@ UnitLED
Derived from UnitLED.