pub unsafe extern "C" fn uart_line_ctrl_set(
dev: *const device,
ctrl: u32,
val: u32,
) -> i32Expand description
@brief Manipulate line control for UART.
@param dev UART device instance. @param ctrl The line control to manipulate (see enum uart_line_ctrl). @param val Value to set to the line control.
@retval 0 If successful. @retval -ENOSYS If this function is not implemented. @retval -ENOTSUP If API is not enabled. @retval -errno Other negative errno value in case of failure.