pub struct USART2 { /* private fields */ }Expand description
Universal synchronous asynchronous receiver transmitter
Implementations§
Trait Implementations§
Source§impl Enable for USART2
impl Enable for USART2
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 USART2
impl SMEnable for USART2
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<USART2> for PA0<Alternate<PushPull, 7>>
impl CtsPin<USART2> for PD3<Alternate<PushPull, 7>>
impl RtsDePin<USART2> for PA1<Alternate<PushPull, 7>>
impl RtsDePin<USART2> for PD4<Alternate<PushPull, 7>>
impl RxPin<USART2> for PA15<Alternate<PushPull, 3>>
impl RxPin<USART2> for PA3<Alternate<PushPull, 7>>
impl RxPin<USART2> for PD6<Alternate<PushPull, 7>>
impl Send for USART2
impl TxHalfDuplexPin<USART2> for PA2<Alternate<OpenDrain, 7>>
impl TxHalfDuplexPin<USART2> for PD5<Alternate<OpenDrain, 7>>
impl TxPin<USART2> for PA2<Alternate<PushPull, 7>>
impl TxPin<USART2> for PD5<Alternate<PushPull, 7>>
Auto Trait Implementations§
impl Freeze for USART2
impl RefUnwindSafe for USART2
impl !Sync for USART2
impl Unpin for USART2
impl UnwindSafe for USART2
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