pub struct Usart<U: Instance> { /* private fields */ }Implementations§
Source§impl<U: Instance> Usart<U>
impl<U: Instance> Usart<U>
pub fn new<PINS: Pins<U>>(serial: Serial<U, PINS>) -> Self
pub fn write_byte(&mut self, b: u8)
pub fn write_str(&mut self, s: &str)
pub fn print_hex_u8(&mut self, n: u8)
pub fn print_hex_u16(&mut self, n: u16)
pub fn print_hex_u32(&mut self, n: u32)
pub fn print_u32(&mut self, n: u32)
Trait Implementations§
Auto Trait Implementations§
impl<U> Freeze for Usart<U>
impl<U> RefUnwindSafe for Usart<U>where
U: RefUnwindSafe,
impl<U> Send for Usart<U>where
U: Send,
impl<U> Sync for Usart<U>where
U: Sync,
impl<U> Unpin for Usart<U>where
U: Unpin,
impl<U> UnwindSafe for Usart<U>where
U: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more