diff options
Diffstat (limited to 'examples/mcxa/src')
| -rw-r--r-- | examples/mcxa/src/bin/clkout.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/mcxa/src/bin/clkout.rs b/examples/mcxa/src/bin/clkout.rs index ba7c8185e..e6e6a2d3d 100644 --- a/examples/mcxa/src/bin/clkout.rs +++ b/examples/mcxa/src/bin/clkout.rs | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | use embassy_executor::Spawner; | 4 | use embassy_executor::Spawner; |
| 5 | use embassy_mcxa::clkout::{ClockOut, ClockOutSel, Config, Div4}; | 5 | use embassy_mcxa::clkout::{ClockOut, ClockOutSel, Config, Div4}; |
| 6 | use embassy_mcxa::clocks::PoweredClock; | 6 | use embassy_mcxa::clocks::PoweredClock; |
| 7 | use embassy_mcxa::clocks::config::{SoscConfig, SoscMode, SoscRange}; | 7 | use embassy_mcxa::clocks::config::{SoscConfig, SoscMode}; |
| 8 | use embassy_mcxa::gpio::{DriveStrength, Level, Output, SlewRate}; | 8 | use embassy_mcxa::gpio::{DriveStrength, Level, Output, SlewRate}; |
| 9 | use embassy_time::Timer; | 9 | use embassy_time::Timer; |
| 10 | use {defmt_rtt as _, embassy_mcxa as hal, panic_probe as _}; | 10 | use {defmt_rtt as _, embassy_mcxa as hal, panic_probe as _}; |
| @@ -16,7 +16,6 @@ async fn main(_spawner: Spawner) { | |||
| 16 | cfg.clock_cfg.sosc = Some(SoscConfig { | 16 | cfg.clock_cfg.sosc = Some(SoscConfig { |
| 17 | mode: SoscMode::CrystalOscillator, | 17 | mode: SoscMode::CrystalOscillator, |
| 18 | frequency: 8_000_000, | 18 | frequency: 8_000_000, |
| 19 | range: SoscRange::Mhz8To16, | ||
| 20 | power: PoweredClock::NormalEnabledDeepSleepDisabled, | 19 | power: PoweredClock::NormalEnabledDeepSleepDisabled, |
| 21 | }); | 20 | }); |
| 22 | 21 | ||
