pub struct USART1 { /* private fields */ }
Expand description
Universal synchronous asynchronous receiver transmitter
Implementations§
Trait Implementations§
source§impl Enable for USART1
impl Enable for USART1
fn enable(rcc: &RegisterBlock)
fn disable(rcc: &RegisterBlock)
source§impl LPEnable for USART1
impl LPEnable for USART1
fn low_power_enable(rcc: &RegisterBlock)
fn low_power_disable(rcc: &RegisterBlock)
source§impl PeriAddress for USART1
impl PeriAddress for USART1
impl DMASet<StreamX<DMA2, 2>, 4, PeripheralToMemory> for USART1
impl DMASet<StreamX<DMA2, 5>, 4, PeripheralToMemory> for USART1
impl DMASet<StreamX<DMA2, 7>, 4, MemoryToPeripheral> for USART1
impl Instance for USART1
impl Send for USART1
Auto Trait Implementations§
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
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