pub struct DMA2 { /* private fields */ }
Expand description
DMA controller
Implementations
impl DMA2
impl DMA2
pub const PTR: *const RegisterBlock = {0x40026400 as *const stm32f4xx_hal::pac::dma2::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40026400 as *const stm32f4xx_hal::pac::dma2::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 DMA2
impl Enable for DMA2
fn enable(rcc: &RegisterBlock)
fn disable(rcc: &RegisterBlock)
sourceimpl Instance for DMA2
impl Instance for DMA2
sourcefn ptr() -> *const RegisterBlock
fn ptr() -> *const RegisterBlock
Gives a pointer to the RegisterBlock.
sourceimpl LPEnable for DMA2
impl LPEnable for DMA2
fn low_power_enable(rcc: &RegisterBlock)
fn low_power_disable(rcc: &RegisterBlock)
impl Send for DMA2
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