Function weact_f401ccu6::create_peripherals

source ·
pub(crate) unsafe fn create_peripherals(
) -> (&'static mut Stm32f401ccDefaultPeripherals<'static>, &'static Syscfg<'static>, &'static Dma1<'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.