pub struct USART1 { /* private fields */ }Expand description
Universal synchronous asynchronous receiver transmitter
Implementations§
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 SMEnable for USART1
impl SMEnable for USART1
Source§fn enable_in_sleep_mode(bus: &mut Self::Bus)
fn enable_in_sleep_mode(bus: &mut Self::Bus)
Enables peripheral
Source§fn disable_in_sleep_mode(bus: &mut Self::Bus)
fn disable_in_sleep_mode(bus: &mut Self::Bus)
Disables peripheral
Source§fn is_enabled_in_sleep_mode() -> bool
fn is_enabled_in_sleep_mode() -> bool
Check if peripheral enabled
Source§fn is_disabled_in_sleep_mode() -> bool
fn is_disabled_in_sleep_mode() -> bool
Check if peripheral disabled
Source§unsafe fn enable_in_sleep_mode_unchecked()
unsafe fn enable_in_sleep_mode_unchecked()
Safety Read more
Source§unsafe fn disable_in_sleep_mode_unchecked()
unsafe fn disable_in_sleep_mode_unchecked()
Safety Read more
impl CtsPin<USART1> for PA11<Alternate<PushPull, 7>>
impl CtsPin<USART1> for PB4<Alternate<PushPull, 7>>
impl RtsDePin<USART1> for PA12<Alternate<PushPull, 7>>
impl RtsDePin<USART1> for PB3<Alternate<PushPull, 7>>
impl RxPin<USART1> for PA10<Alternate<PushPull, 7>>
impl RxPin<USART1> for PB7<Alternate<PushPull, 7>>
impl Send for USART1
impl TxHalfDuplexPin<USART1> for PA9<Alternate<OpenDrain, 7>>
impl TxHalfDuplexPin<USART1> for PB6<Alternate<OpenDrain, 7>>
impl TxPin<USART1> for PA9<Alternate<PushPull, 7>>
impl TxPin<USART1> for PB6<Alternate<PushPull, 7>>
Auto Trait Implementations§
impl Freeze for USART1
impl RefUnwindSafe for USART1
impl !Sync for USART1
impl Unpin for USART1
impl UnwindSafe for USART1
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