Check if a chipset timing can be accurately represented by UART.
Validates that:
- Required baud rate <= 5.0 Mbps
- T0H pulse count is in [1, 4]
- T1H pulse count is in [1, 4]
- T0H and T1H pulse counts are distinguishable (different)
- Quantized T0H is within half a pulse width of nominal
- Quantized T1H is within half a pulse width of nominal
- Parameters
-
| timing | Chipset timing configuration |
- Returns
- true if timing is representable, false otherwise
Definition at line 282 of file uart_wave_encoder.cpp.hpp.
282 {
284}
constexpr u32 kMaxUartBaudRate
Maximum UART baud rate supported by ESP32 variants.
bool canRepresentTimingForMaxBaud(const ChipsetTimingConfig &timing, u32 max_baud_rate) FL_NO_EXCEPT
Timing feasibility with a backend-specific baud ceiling.
References canRepresentTimingForMaxBaud(), FL_NO_EXCEPT, and kMaxUartBaudRate.