pub struct USART2 { /* private fields */ }
Expand description
Universal synchronous asynchronous receiver transmitter
Implementations
impl USART2
impl USART2
pub const PTR: *const RegisterBlock = {0x40004400 as *const stm32f4xx_hal::pac::usart1::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40004400 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 USART2
impl Enable for USART2
fn enable(rcc: &RegisterBlock)
fn disable(rcc: &RegisterBlock)
sourceimpl LPEnable for USART2
impl LPEnable for USART2
fn low_power_enable(rcc: &RegisterBlock)
fn low_power_disable(rcc: &RegisterBlock)
sourceimpl 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
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