pub type USART1 = Periph<RegisterBlock, 1073821696>;Expand description
Universal synchronous asynchronous receiver transmitter
See peripheral structure
Aliased Type§
pub struct USART1 { /* private fields */ }Trait Implementations§
Source§impl Enable for USART1
impl Enable for USART1
Source§fn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
Source§fn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Safety Read more
Source§unsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Safety Read more
Source§impl SerialAsync for USART1
impl SerialAsync for USART1
Source§impl SerialFlowControl for USART1
impl SerialFlowControl for USART1
Source§impl UartPeriph for USART1
impl UartPeriph for USART1
Source§fn clear_err_flag(&self)
fn clear_err_flag(&self)
In order to clear that error flag, you have to do a read from the sr register followed by a read from the dr register.