M5UnitUnified 0.1.5 git rev:23e84e7
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
adapter_gpio_v1.hpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 M5Stack Technology CO LTD
3 *
4 * SPDX-License-Identifier: MIT
5 */
11#ifndef M5_UNIT_COMPONENT_ADAPTER_GPIO_V1_HPP
12#define M5_UNIT_COMPONENT_ADAPTER_GPIO_V1_HPP
13
15#include "types.hpp"
16#include "adapter_gpio.hpp"
17
18#if !defined(M5_UNIT_UNIFIED_USING_RMT_V2)
19#include <driver/rmt.h>
20
21namespace m5 {
22namespace unit {
23
28class AdapterGPIO : public AdapterGPIOBase {
29public:
30 AdapterGPIO(const int8_t rx_pin, const int8_t tx_pin);
31};
32
33} // namespace unit
34} // namespace m5
35#endif
36#endif
Adapters to treat M5HAL and GPIO in the same way.
Identification of functions to be used.
Top level namespace of M5stack.
Definition test_helper.hpp:18
Unit-related namespace.
Type and enumerator definitions.