M5UnitUnified 0.1.0 git rev:f196fcd
Loading...
Searching...
No Matches
adapter.hpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
3 *
4 * SPDX-License-Identifier: MIT
5 */
11#ifndef M5_UNIT_COMPONENT_ADAPTER_HPP
12#define M5_UNIT_COMPONENT_ADAPTER_HPP
13#include "adapter_base.hpp"
14#include "adapter_i2c.hpp"
16#if defined(M5_UNIT_UNIFIED_USING_RMT_V2)
17#include "adapter_gpio_v2.hpp"
18#else
19#include "adapter_gpio_v1.hpp"
20#endif
21#endif
Adapter base.
Adapters to treat M5HAL and GPIO in the same way using RNT v1.
Adapters to treat M5HAL and GPIO in the same way using RMT v2.
Adapter for I2C to treat M5HAL and TwoWire in the same way.
Identification of functions to be used.