Skip to main content

uart_tx_abort

Function uart_tx_abort 

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

@brief Abort current TX transmission.

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

@param dev UART device instance.

@return 0 on success, negative errno value on failure. @retval -ENOTSUP API is not enabled. @retval -EFAULT There is no active transmission.