M5Unit-RS485 0.1.0 git rev:8a0af48
Loading...
Searching...
No Matches
unit_SIT3088.hpp File Reference

SIT3088 unit for M5UnitUnified (manual direction-controlled RS-485 transceiver) More...

Go to the source code of this file.

Classes

class  m5::unit::UnitSIT3088
 RS-485 unit using the SIT3088 transceiver (manual direction control via a DIR pin) More...
 
struct  m5::unit::UnitSIT3088::config_t
 Settings for begin (extends RS485Component::config_t with the SIT3088 DIR pin) More...
 

Namespaces

namespace  m5
 Top level namespace of M5Stack.
 

Detailed Description

SIT3088 unit for M5UnitUnified (manual direction-controlled RS-485 transceiver)

The SIT3088 transceiver does NOT auto-control DE/RE like SP485EEN; the host must drive a DIR pin (typically DE and /RE tied) high before transmitting and low after transmission completes. Used by M5Stack Tab5's built-in RS-485 (DIR = GPIO34).

Note
The public API is framework-agnostic. Framework-specific bits are confined to the translation unit. Direction-pin control requires ESP_PLATFORM (uses driver/gpio.h) — this covers Arduino-ESP32 today and will cover ESP-IDF native support (planned) equally. Non-ESP targets get a no-op set_transmit() and skip the DIR toggle.