Function bl602_sdk::uart::init[][src]

pub fn init(
    id: u8,
    tx_pin: u8,
    rx_pin: u8,
    cts_pin: u8,
    rts_pin: u8,
    baudrate: u32
) -> BlResult<()>
Expand description

Initialise a UART Port. See bl_uart_init in “Initialise UART Port” https://lupyuen.github.io/articles/uart#initialise-uart-port