Typed view of the modem control/status lines exchanged with the proxy.
More...
#include <serial_proxy.hpp>
|
| bool | rts = false |
| | Request To Send (bit 0)
|
| |
| bool | dtr = false |
| | Data Terminal Ready (bit 1)
|
| |
|
| static constexpr std::uint32_t | rts_bit = 1U << 0 |
| |
| static constexpr std::uint32_t | dtr_bit = 1U << 1 |
| |
Typed view of the modem control/status lines exchanged with the proxy.
Bit positions are stable API (ESPHome SerialProxyLineStateFlag); only RTS and DTR are defined today.
◆ from_bits()
◆ to_bits()
| std::uint32_t esphome::api::SerialProxyLineStates::to_bits |
( |
| ) |
const |
|
inline |
◆ dtr
| bool esphome::api::SerialProxyLineStates::dtr = false |
Data Terminal Ready (bit 1)
◆ dtr_bit
| constexpr std::uint32_t esphome::api::SerialProxyLineStates::dtr_bit = 1U << 1 |
|
staticconstexpr |
◆ rts
| bool esphome::api::SerialProxyLineStates::rts = false |
◆ rts_bit
| constexpr std::uint32_t esphome::api::SerialProxyLineStates::rts_bit = 1U << 0 |
|
staticconstexpr |
The documentation for this struct was generated from the following file: