Skip to main content

uart_err_check

Function uart_err_check 

Source
pub unsafe extern "C" fn uart_err_check(dev: *const device) -> c_int
Expand description

@brief Check whether an error was detected.

@param dev UART device instance.

@retval 0 No error was detected. @retval err Error flags as defined in @ref uart_rx_stop_reason. @retval -ENOSYS Not implemented.