pub fn test_prescalers<ChipSpecs>(clocks: &Clocks<'_, ChipSpecs>)where ChipSpecs: ChipSpecs,
Test for the AHB and APB prescalers
First, import the clock module:
// This test assumes a STM32F429 chip use stm32f429zi::clocks;
Then run the test:
clocks::test::test_prescalers(&peripherals.stm32f4.clocks);