M5UnitUnified 0.1.2 git rev:98f967c
Loading...
Searching...
No Matches
adapter_gpio_v2.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_V2_HPP
12#define M5_UNIT_COMPONENT_ADAPTER_GPIO_V2_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_tx.h>
20#include <driver/rmt_rx.h>
21#include <driver/rmt_encoder.h>
22#include <driver/gpio.h>
23
24namespace m5 {
25namespace unit {
26
31class AdapterGPIO : public AdapterGPIOBase {
32public:
33 AdapterGPIO(const int8_t rx_pin, const int8_t tx_pin);
34};
35
36} // namespace unit
37} // namespace m5
38#endif
39#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.