|
HF-FDO2 Driver 0.1.0-dev
UART driver for PyroScience FDO2-G2 (data sheet v5 §4: #MOXY, #MRAW, #VERS)
|
Template UART bridge: one concrete type per (port, TX, RX, baud) tuple. More...
#include <hf_fdo2_esp_uart.hpp>
Public Member Functions | |
| void | write (const std::uint8_t *data, std::size_t len) noexcept |
| std::size_t | read (std::uint8_t *out, std::size_t max, std::uint32_t timeout_ms) noexcept |
| void | flush_rx () noexcept |
| void | delay_ms_impl (std::uint32_t ms) noexcept |
Public Member Functions inherited from fdo2::UartInterface< Derived > | |
| void | write (const uint8_t *data, std::size_t length) noexcept |
| std::size_t | read (uint8_t *out, std::size_t max, uint32_t timeout_ms) noexcept |
| void | flush_rx () noexcept |
| void | delay_ms (uint32_t ms) noexcept |
Static Public Member Functions | |
| static esp_err_t | Install () noexcept |
Template UART bridge: one concrete type per (port, TX, RX, baud) tuple.
Call Install() once before constructing fdo2::Driver<Fdo2EspIdfUart<...>>. MCU TX → sensor RX, MCU RX ← sensor TX. 8N1, no flow control (FDO2-G2 §4).
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinestaticnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |