Function stm32f429idiscovery::create_peripherals
source · pub(crate) unsafe fn create_peripherals(
) -> (&'static mut Stm32f429ziDefaultPeripherals<'static>, &'static Syscfg<'static>, &'static Dma2<'static>)
Expand description
Statically initialize the core peripherals for the chip.
This is in a separate, inline(never) function so that its stack frame is removed when this function returns. Otherwise, the stack space used for these static_inits is wasted.