Struct stm32f3xx_hal::pac::USART2
source · 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()
Enables peripheral Read more
source§unsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Disables peripheral Read more
source§impl InterruptNumber for USART2
impl InterruptNumber for USART2
impl Dma for USART2
impl Instance for USART2
impl ReceiverTimeoutExt for USART2
impl<Otype> RxPin<USART2> for PA15<AF7<Otype>>
impl<Otype> RxPin<USART2> for PA3<AF7<Otype>>
impl<Otype> RxPin<USART2> for PB4<AF7<Otype>>
impl<Otype> RxPin<USART2> for PD6<AF7<Otype>>
impl Send for USART2
impl<Otype> TxPin<USART2> for PA14<AF7<Otype>>
impl<Otype> TxPin<USART2> for PA2<AF7<Otype>>
impl<Otype> TxPin<USART2> for PB3<AF7<Otype>>
impl<Otype> TxPin<USART2> for PD5<AF7<Otype>>
Auto Trait Implementations§
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
source§impl<T> BusTimerClock for Twhere
T: RccBus,
<T as RccBus>::Bus: BusTimerClock,
impl<T> BusTimerClock for Twhere T: RccBus, <T as RccBus>::Bus: BusTimerClock,
source§fn timer_clock(clocks: &Clocks) -> Hertz
fn timer_clock(clocks: &Clocks) -> Hertz
Calculates base frequency of timer depending on
Clock
state