uart_tx_abort

Function uart_tx_abort 

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

@brief Abort current TX transmission.

#UART_TX_ABORTED event will be generated with amount of data sent.

@param dev UART device instance.

@retval 0 If successful. @retval -ENOTSUP If API is not enabled. @retval -EFAULT There is no active transmission. @retval -errno Other negative errno value in case of failure.