|
| AtomicBasePinPair | m5::unit::rs485::wiring::atomicBaseUartPins () |
| | Board-aware lookup for AtomicRS485Base UART pins.
|
| |
| bool | m5::unit::rs485::wiring::addAtomicBaseUART (UnitUnified &units, Component &unit, const uint32_t baud=115200, const m5::unit::wiring::UartConfig config=m5::unit::wiring::UartConfig::Default, const size_t rx_buffer_size=0) |
| | Add a UnitSP485 (aliased as AtomicRS485Base) on the Atom-family bottom base UART.
|
| |
| bool | m5::unit::rs485::wiring::addAtomicBaseUART (UnitUnified &units, Component &unit, const uint32_t baud, const uint32_t config, const size_t rx_buffer_size=0) |
| | Add a UnitSP485 (aliased as AtomicRS485Base) with a raw Arduino serial config.
|
| |
|
| Tab5BuiltinRS485Pins | m5::unit::rs485::wiring::tab5BuiltinRS485Pins () |
| | Fixed pin assignments for Tab5 built-in RS-485.
|
| |
| bool | m5::unit::rs485::wiring::addTab5BuiltinRS485UART (UnitUnified &units, UnitSIT3088 &unit, const uint32_t baud=115200, const m5::unit::wiring::UartConfig config=m5::unit::wiring::UartConfig::Default, const size_t rx_buffer_size=0) |
| | Add a UnitSIT3088 (aliased as Tab5BuiltinRS485) on Tab5's built-in RS-485.
|
| |
| bool | m5::unit::rs485::wiring::addTab5BuiltinRS485UART (UnitUnified &units, UnitSIT3088 &unit, const uint32_t baud, const uint32_t config, const size_t rx_buffer_size=0) |
| | Add a UnitSIT3088 (aliased as Tab5BuiltinRS485) with a raw Arduino serial config.
|
| |
Opt-in, header-only board-aware connection helpers specific to M5Unit-RS485.
Mirrors the M5UnitUnified core wiring helper (m5::unit::wiring) but holds variants that are product-specific to this library and therefore do NOT belong in the generic, survey-derived core tables:
- AtomicRS485Base (A131): plugs into the Atom-family bottom base, whose UART GPIOs differ per Atom board and are not exposed by the generic PortA/PortC helpers.
- Tab5 built-in RS-485 (SIT3088 with manual DIR pin): fixed to M5Stack Tab5 (ESP32-P4, RX=G21, TX=G20, DIR=G34).
- Note
- Include this LAST (it self-includes the core wiring helper, which detects M5Unified via
__M5UNIFIED_HPP__). Example/test must #include <M5Unified.h> before this header.