M5Unit-RS485 0.1.0 git rev:8a0af48
Loading...
Searching...
No Matches
unit_SP485.hpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
3 *
4 * SPDX-License-Identifier: MIT
5 */
10#ifndef M5_UNIT_RS485_UNIT_SP485_HPP
11#define M5_UNIT_RS485_UNIT_SP485_HPP
12
13#include "rs485_component.hpp"
14
15namespace m5 {
16namespace unit {
17
22class UnitSP485 : public RS485Component {
23 M5_UNIT_COMPONENT_HPP_BUILDER(UnitSP485, 0x00 /*UART*/);
24
25public:
29 UnitSP485();
31 virtual ~UnitSP485() = default;
32};
33
34} // namespace unit
35} // namespace m5
36#endif
Non-instantiable base class for RS-485 transceiver units.
Definition rs485_component.hpp:37
RS-485 unit using the SP485EEN transceiver (auto direction control)
Definition unit_SP485.hpp:22
virtual ~UnitSP485()=default
Destructor.
UnitSP485()
Constructor.
Definition unit_SP485.cpp:24
Top level namespace of M5Stack.
Unit-related namespace.
Common base for RS-485 transceiver units in M5UnitUnified.