pub type UART4 = Periph<RegisterBlock, 1073761280>;Expand description
Universal asynchronous receiver transmitter
See peripheral structure
Aliased Type§
pub struct UART4 { /* private fields */ }Trait Implementations§
Source§impl Enable for UART4
impl Enable for UART4
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 UART4
impl SerialAsync for UART4
Source§impl UartPeriph for UART4
impl UartPeriph for UART4
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.