Struct embassy_stm32::peripherals::USART2
source · pub struct USART2 { /* private fields */ }
Expand description
USART2 peripheral
Implementations§
Trait Implementations§
source§impl Peripheral for USART2
impl Peripheral for USART2
source§impl RccPeripheral for USART2
impl RccPeripheral for USART2
fn frequency() -> Hertz
fn enable_and_reset_with_cs(_cs: CriticalSection<'_>)
fn disable_with_cs(_cs: CriticalSection<'_>)
fn enable_and_reset()
fn disable()
impl BasicInstance for USART2
impl FullInstance for USART2
impl RccPeripheral for USART2
Auto Trait Implementations§
impl Freeze for USART2
impl RefUnwindSafe for USART2
impl Send 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