Struct stm32f4xx_hal::pac::DMA2
source · pub struct DMA2 { /* private fields */ }
Expand description
DMA controller
Implementations§
Trait Implementations§
source§impl Enable for DMA2
impl Enable for DMA2
source§fn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
source§fn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
source§unsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Safety Read more
source§unsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Safety Read more
source§impl Instance for DMA2
impl Instance for DMA2
source§fn ptr() -> *const DMARegisterBlock
fn ptr() -> *const DMARegisterBlock
Gives a pointer to the RegisterBlock.
source§impl LPEnable for DMA2
impl LPEnable for DMA2
source§fn enable_in_low_power(rcc: &RccRB)
fn enable_in_low_power(rcc: &RccRB)
Enables peripheral in low power mode
source§fn disable_in_low_power(rcc: &RccRB)
fn disable_in_low_power(rcc: &RccRB)
Disables peripheral in low power mode
source§fn is_enabled_in_low_power() -> bool
fn is_enabled_in_low_power() -> bool
Check if peripheral enabled in low power mode
source§fn is_disabled_in_low_power() -> bool
fn is_disabled_in_low_power() -> bool
Check if peripheral disabled in low power mode
source§unsafe fn enable_in_low_power_unchecked()
unsafe fn enable_in_low_power_unchecked()
Safety Read more
source§unsafe fn disable_in_low_power_unchecked()
unsafe fn disable_in_low_power_unchecked()
Safety Read more
impl Send for DMA2
Auto Trait Implementations§
impl Freeze for DMA2
impl RefUnwindSafe for DMA2
impl !Sync for DMA2
impl Unpin for DMA2
impl UnwindSafe for DMA2
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