diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/mcxa/src/bin/clkout.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/mcxa/src/bin/clkout.rs b/examples/mcxa/src/bin/clkout.rs index 94f7d7bbf..c0e8c330d 100644 --- a/examples/mcxa/src/bin/clkout.rs +++ b/examples/mcxa/src/bin/clkout.rs | |||
| @@ -19,7 +19,8 @@ async fn main(_spawner: Spawner) { | |||
| 19 | power: PoweredClock::NormalEnabledDeepSleepDisabled, | 19 | power: PoweredClock::NormalEnabledDeepSleepDisabled, |
| 20 | }); | 20 | }); |
| 21 | cfg.clock_cfg.spll = Some(SpllConfig { | 21 | cfg.clock_cfg.spll = Some(SpllConfig { |
| 22 | source: SpllSource::Sirc, // 12MHz | 22 | source: SpllSource::Sirc, |
| 23 | // 12MHz | ||
| 23 | // 12 x 32 => 384MHz | 24 | // 12 x 32 => 384MHz |
| 24 | // 384 / (16 x 2) => 12.0MHz | 25 | // 384 / (16 x 2) => 12.0MHz |
| 25 | mode: SpllMode::Mode1b { | 26 | mode: SpllMode::Mode1b { |
