/** Send data to UART (blocking) */
Send data to UART (blocking)
Send data to UART ( blocking )
pub fn send(s: &[u8]) {
    let uart = pac::UART1::ptr();
    for &c in s {
        unsafe {
            while ((*uart).lsr.read().bits() & (1 << 5)) != 0 {}
            (*uart).rbr_dll_thr.write(|w| w.bits(c.into()));
        }
    }
}
pub fn send ( s : & [ u8 ] ) { let uart = pac :: UART1 :: ptr ( ) ; for & c in s { unsafe { while ( ( * uart ) . lsr . read ( ) . bits ( ) & ( 1 << 5 ) ) != 0 { } ( * uart ) . rbr_dll_thr . write ( | w | w . bits ( c . into ( ) ) ) ; } } }
Send data to UART (blocking)
Send data to UART ( blocking )
s
&[u8]