Struct atmega_hal::pac::USART3
source · pub struct USART3 { /* private fields */ }Expand description
USART
Implementations§
source§impl USART3
impl USART3
sourcepub const PTR: *const RegisterBlock = {0x130 as *const avr_device::atmega2560::usart3::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x130 as *const avr_device::atmega2560::usart3::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations§
source§impl UsartOps<Atmega, Pin<Input, PJ0>, Pin<Output, PJ1>> for USART3
impl UsartOps<Atmega, Pin<Input, PJ0>, Pin<Output, PJ1>> for USART3
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
source§fn raw_write(&mut self, byte: u8) -> Result<(), Infallible>
fn raw_write(&mut self, byte: u8) -> Result<(), Infallible>
Write a byte to the TX buffer. Read more
source§fn raw_interrupt(&mut self, event: Event, state: bool)
fn raw_interrupt(&mut self, event: Event, state: bool)
Enable/Disable a certain interrupt. Read more