M5UnitUnified 0.3.0 git rev:6b3818b
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
14#include "adapter_base.hpp"
15#include "adapter_i2c.hpp"
17#if defined(M5_UNIT_UNIFIED_USING_RMT_V2)
18#include "adapter_gpio_v2.hpp"
19#else
20#include "adapter_gpio_v1.hpp"
21#endif
22#include "adapter_uart.hpp"
23#include "adapter_spi.hpp"
24
25#endif
Adapter base.
Adapters to treat M5HAL and GPIO in the same way using RMT 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.
Adapters to treat M5HAL and SPI in the same way using Searial.
Adapters to treat M5HAL and UART in the same way using Searial.
Identification of functions to be used.