Function lcd_example::borrow_uart

source ·
pub(crate) fn borrow_uart(
    serial: &mut Usart0<DefaultClock>,
    gpio: &mut [Pin<Output>],
    s: &str
) -> u8
Expand description

Test function that grabs a mutable pointer and implicitly returns it back Along with mutable pointers to gpio pin array and a immutable borrow of a str type!