Struct stm32f4xx_hal::pac::USART2
source · [−]pub struct USART2 { /* private fields */ }
Expand description
Universal synchronous asynchronous receiver transmitter
Implementations
sourceimpl USART2
impl USART2
sourcepub const PTR: *const RegisterBlock = {0x40004400 as *const stm32f4::stm32f429::usart1::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40004400 as *const stm32f4::stm32f429::usart1::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
sourceimpl LPEnable for USART2
impl LPEnable for USART2
fn low_power_enable(rcc: &RccRB)
fn low_power_disable(rcc: &RccRB)
sourceimpl PeriAddress for USART2
impl PeriAddress for USART2
impl DMASet<StreamX<DMA1, 5_u8>, 4_u8, PeripheralToMemory> for USART2
impl DMASet<StreamX<DMA1, 6_u8>, 4_u8, 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