M5Unit-RS485 0.2.0 git rev:0956c20
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
26class UnitSP485 : public RS485Component {
27 M5_UNIT_COMPONENT_HPP_BUILDER(UnitSP485, 0x00 /*UART*/);
28
29public:
33 UnitSP485();
35 virtual ~UnitSP485() = default;
36};
37
38} // namespace unit
39} // namespace m5
40#endif
Non-instantiable base class for RS-485 transceiver units.
Definition rs485_component.hpp:37
RS-485 unit whose transceiver direction is controlled on the board, not by software.
Definition unit_SP485.hpp:26
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.