M5Unit-RS485 0.1.0 git rev:8a0af48
Loading...
Searching...
No Matches
m5::unit::UnitSIT3088::config_t Struct Reference

Settings for begin (extends RS485Component::config_t with the SIT3088 DIR pin) More...

#include <unit_SIT3088.hpp>

Inheritance diagram for m5::unit::UnitSIT3088::config_t:
m5::unit::RS485Component::config_t

Public Attributes

int8_t dir_pin {-1}
 DIR (DE/RE tied) GPIO number; -1 = unset (begin() fails)
 
- Public Attributes inherited from m5::unit::RS485Component::config_t
bool flushRX {true}
 Flush RX buffer on begin?
 

Detailed Description

Settings for begin (extends RS485Component::config_t with the SIT3088 DIR pin)

Note
Following M5UnitUnified convention, config is a begin-time setting: changing any field after begin() has succeeded has no effect (the DIR pin is captured during begin() and the ISerial decorator is already installed).