|
M5UnitUnified 0.2.0 git rev:9e1ffe1
|
Type and enumerator definitions. More...
#include <cstdint>#include <type_traits>#include "identify_functions.hpp"#include <driver/rmt_types.h>#include <driver/gpio.h>Go to the source code of this file.
Classes | |
| struct | m5::unit::gpio::adapter_config_t |
| Unified configuration for RMT v1/v2. More... | |
| struct | m5::unit::gpio::adapter_config_t::config_t |
| common More... | |
| struct | m5::unit::gpio::adapter_config_t::tx_config_t |
| For TX. More... | |
| struct | m5::unit::gpio::adapter_config_t::rx_config_t |
| For RX. More... | |
Namespaces | |
| namespace | m5 |
| Top level namespace of M5stack. | |
| namespace | types |
| Type and enumerator definitions. | |
Typedefs | |
| using | m5::unit::types::uid_t = uint32_t |
| Component unique identifier. | |
| using | m5::unit::types::attr_t = uint32_t |
| Component attribute bits. | |
| using | m5::unit::types::elapsed_time_t = unsigned long |
| Elapsed time unit (ms) | |
| using | m5::unit::gpio::m5_rmt_item_t = rmt_symbol_word_t |
| Alias for RMT item. | |
Enumerations | |
| enum class | m5::unit::types::category_t { None , UnitLED } |
| Unit category (used for static class determination) More... | |
| enum class | m5::unit::gpio::Mode : uint8_t { Input , Output , Pullup , InputPullup , Pulldown , InputPulldown , OpenDrain , OutputOpenDrain , Analog , RmtRX = 0x80 , RmtTX , RmtRXTX } |
| Pin mode. | |
Variables | |
Attribute | |
| constexpr attr_t | m5::unit::types::attribute::AccessI2C = 0x00000001 |
| I2C Accessible Unit. | |
| constexpr attr_t | m5::unit::types::attribute::AccessGPIO = 0x00000002 |
| GPIO Accessible Unit. | |
| constexpr attr_t | m5::unit::types::attribute::AccessUART = 0x00000004 |
| UART Accessible Unit. | |
Type and enumerator definitions.
|
strong |