[][src]Function mraa_sys::mraa_uart_lookup

pub unsafe extern "C" fn mraa_uart_lookup(uart_name: *const c_char) -> c_int

Get UART index by name, board must be initialised.

@param uart_name: Name of UART. Eg:UART1 @return int of MRAA index for UART, or -1 if not found.