pub struct USART2 { /* private fields */ }
Expand description
Universal synchronous asynchronous receiver transmitter
Implementations§
Trait Implementations§
source§impl Enable for USART2
impl Enable for USART2
fn enable(rcc: &RegisterBlock)
fn disable(rcc: &RegisterBlock)
source§impl LPEnable for USART2
impl LPEnable for USART2
fn low_power_enable(rcc: &RegisterBlock)
fn low_power_disable(rcc: &RegisterBlock)
source§impl PeriAddress for USART2
impl PeriAddress for USART2
impl DMASet<StreamX<DMA1, 5>, 4, PeripheralToMemory> for USART2
impl DMASet<StreamX<DMA1, 6>, 4, MemoryToPeripheral> for USART2
impl Instance for USART2
impl Send for USART2
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) -> Rate<u32, 1, 1>
fn timer_clock(clocks: &Clocks) -> Rate<u32, 1, 1>
Calculates base frequency of timer depending on
Clock
state