uart_line_ctrl_get

Function uart_line_ctrl_get 

Source
pub unsafe extern "C" fn uart_line_ctrl_get(
    dev: *const device,
    ctrl: u32,
    val: *mut u32,
) -> i32
Expand description

@brief Retrieve line control for UART.

@param dev UART device instance. @param ctrl The line control to retrieve (see enum uart_line_ctrl). @param val Pointer to variable where to store the line control value.

@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.