Type Alias USART0

Source
pub type USART0 = Periph<RegisterBlock, 192>;
Expand description

USART

Aliased Type§

struct USART0 { /* private fields */ }

Trait Implementations§

Source§

impl UsartOps<Atmega, Pin<Input, PD0>, Pin<Output, PD1>> for USART0

Source§

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)

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>

Flush all remaining data in the TX buffer. Read more
Source§

fn raw_write(&mut self, byte: u8) -> Result<(), Infallible>

Write a byte to the TX buffer. Read more
Source§

fn raw_read(&mut self) -> Result<u8, Infallible>

Read a byte from the RX buffer. Read more
Source§

fn raw_interrupt(&mut self, event: Event, state: bool)

Enable/Disable a certain interrupt. Read more