Function test_mco

Source
pub fn test_mco<ChipSpecs>(clocks: &Clocks<'_, ChipSpecs>)
where ChipSpecs: ChipSpecs,
Expand description

Test for the microcontroller clock outputs

§Usage

First, import the clock module:

// This test assumes a STM32F429 chip
use stm32f429zi::clocks;

Then run the test:

clocks::test::test_mco(&peripherals.stm32f4.clocks);