DMA2

Type Alias DMA2 

Source
pub type DMA2 = Periph<RegisterBlock, 1073873920>;
Expand description

DMA controller

See peripheral structure

Aliased Type§

pub struct DMA2 { /* private fields */ }

Trait Implementations§

Source§

impl DmaInit for DMA2

Source§

type Channels = Channels

Source§

fn split(self, rcc: &mut Rcc) -> Channels

Source§

impl Enable for DMA2

Source§

fn enable(rcc: &mut RCC)

Enables peripheral
Source§

fn disable(rcc: &mut RCC)

Disables peripheral
Source§

fn is_enabled() -> bool

Check if peripheral enabled
Source§

fn is_disabled() -> bool

Check if peripheral disabled
Source§

unsafe fn enable_unchecked()

Safety Read more
Source§

unsafe fn disable_unchecked()

Safety Read more
Source§

impl RccBus for DMA2

Source§

type Bus = AHB

Bus type;
Source§

impl RegisterBlock for DMA2

Source§

fn isr(&self) -> &ISR

Source§

fn ifcr(&self) -> &IFCR

Source§

fn ch(&self, n: usize) -> &CH