pub struct USART1 { /* private fields */ }
Expand description
Universal synchronous asynchronous receiver transmitter
Implementations
impl USART1
impl USART1
pub const PTR: *const RegisterBlock = {0x40011000 as *const stm32f4xx_hal::pac::usart1::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40011000 as *const stm32f4xx_hal::pac::usart1::RegisterBlock}
Pointer to the register block
pub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
sourceimpl Enable for USART1
impl Enable for USART1
fn enable(rcc: &RegisterBlock)
fn disable(rcc: &RegisterBlock)
sourceimpl LPEnable for USART1
impl LPEnable for USART1
fn low_power_enable(rcc: &RegisterBlock)
fn low_power_disable(rcc: &RegisterBlock)
sourceimpl 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
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more