* @brief Convert RxDeviceType to human-readable string * @param type RX device type * @return String name ("ISR" or "RMT") */
| 175 | * @return String name ("ISR" or "RMT") |
| 176 | */ |
| 177 | inline const char* toString(RxDeviceType type) FL_NOEXCEPT { |
| 178 | switch (type) { |
| 179 | case RxDeviceType::PLATFORM_DEFAULT: return "PLATFORM_DEFAULT"; |
| 180 | case RxDeviceType::ISR: return "ISR"; |
| 181 | case RxDeviceType::RMT: return "RMT"; |
| 182 | case RxDeviceType::FLEXPWM: return "FLEXPWM"; |
| 183 | case RxDeviceType::FLEXIO: return "FLEXIO"; |
| 184 | case RxDeviceType::LPC_SCT_CAPTURE: return "LPC_SCT_CAPTURE"; |
| 185 | } |
| 186 | return "UNKNOWN"; |
| 187 | } |
| 188 | |
| 189 | /** |
| 190 | * @brief Configuration for RX device initialization |