[−][src]Macro drone_stm32_map_periph_dma::periph_dma1
macro_rules! periph_dma1 { periph::map! { #[doc = $dma_macro_doc] pub macro $dma_macro; #[doc = $dma_ty_doc] pub struct $dma_ty; impl DmaMap for $dma_ty {} drone_stm32_map_pieces::reg; crate; RCC { BUSENR { $busenr Shared; DMAEN { $dmaen } } #[cfg(any( feature = "stm32l4x1", feature = "stm32l4x2", feature = "stm32l4x3", feature = "stm32l4x5", feature = "stm32l4x6", feature = "stm32l4r5", feature = "stm32l4r7", feature = "stm32l4r9", feature = "stm32l4s5", feature = "stm32l4s7", feature = "stm32l4s9" ))] BUSRSTR { $busrstr Shared; DMARST { $dmarst } } #[cfg(any( feature = "stm32l4x1", feature = "stm32l4x2", feature = "stm32l4x3", feature = "stm32l4x5", feature = "stm32l4x6", feature = "stm32l4r5", feature = "stm32l4r7", feature = "stm32l4r9", feature = "stm32l4s5", feature = "stm32l4s7", feature = "stm32l4s9" ))] BUSSMENR { $bussmenr Shared; DMASMEN { $dmasmen } } } } => { ... }; }
Extracts DMA1 head register tokens.