Struct atmega_hal::pac::USART0
source · pub struct USART0 { /* private fields */ }
Expand description
USART
Implementations§
Trait Implementations§
source§impl UsartOps<Atmega, Pin<Input, PD0>, Pin<Output, PD1>> for USART0
impl UsartOps<Atmega, Pin<Input, PD0>, Pin<Output, PD1>> for USART0
source§fn raw_init<CLOCK>(&mut self, baudrate: Baudrate<CLOCK>)
fn raw_init<CLOCK>(&mut self, baudrate: Baudrate<CLOCK>)
Enable & initialize this USART peripheral to the given baudrate. Read more
source§fn raw_deinit(&mut self)
fn raw_deinit(&mut self)
Disable this USART peripheral such that the pins can be used for other purposes again. Read more
source§fn raw_flush(&mut self) -> Result<(), Infallible>
fn raw_flush(&mut self) -> Result<(), Infallible>
Flush all remaining data in the TX buffer. Read more
impl Send for USART0
Auto Trait Implementations§
impl Freeze for USART0
impl RefUnwindSafe for USART0
impl !Sync for USART0
impl Unpin for USART0
impl UnwindSafe for USART0
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