| 57 | } |
| 58 | |
| 59 | bool ChannelEngineUART::canHandle(const ChannelDataPtr& data) const FL_NOEXCEPT { |
| 60 | if (!data) { |
| 61 | return false; |
| 62 | } |
| 63 | // Reject SPI chipsets |
| 64 | if (data->isSpi()) { |
| 65 | return false; |
| 66 | } |
| 67 | // Validate that the chipset's timing is representable via UART wave10 |
| 68 | const ChipsetTimingConfig& timing = data->getTiming(); |
| 69 | return canRepresentTiming(timing); |
| 70 | } |
| 71 | |
| 72 | //============================================================================= |
| 73 | // Public Interface - IChannelDriver Implementation |
nothing calls this directly
no test coverage detected