[−][src]Macro drone_stm32_map_periph_gpio::periph_gpio_d_head
macro_rules! periph_gpio_d_head { periph::map! { #[doc = $port_macro_doc] pub macro $port_macro; #[doc = $port_ty_doc] pub struct $port_ty; impl GpioHeadMap for $port_ty {} drone_stm32_map_pieces::reg; crate::head; RCC { BUSENR { $busenr Shared; GPIOEN { $gpioen } } BUSRSTR { $busrstr Shared; GPIORST { $gpiorst } } #[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; GPIOSMEN { $gpiosmen } } } GPIO { $gpio; LCKR { LCKR Shared; LCKK { LCKK } } } } => { ... }; }
Extracts GPIO port D head register tokens.