drivers: uart: add UART noise error enum
Some chips have noise error detection. Add an enum to signal this kind
of error.
@@ -69,6 +69,8 @@ enum uart_rx_stop_reason {
* support collision checking.
*/
UART_ERROR_COLLISION = (1 << 4),
+ /** @brief Noise error */
+ UART_ERROR_NOISE = (1 << 5),
};
/** @brief Parity modes */
