Skip to content

Commit

Permalink
clock/v2: Fix "KHz" typo
Browse files Browse the repository at this point in the history
  • Loading branch information
glaeqen committed Jul 21, 2021
1 parent 799c81c commit cf44f4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hal/src/thumbv7em/clock/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub struct Tokens {
///
/// And also ultra low power internal 32k oscillator:
///
/// - [`osculp32k::OscUlp32k`] (`32 KHz`)
/// - [`osculp32k::OscUlp32k`] (`32 kHz`)
pub fn retrieve_clocks(
oscctrl: OSCCTRL,
osc32kctrl: OSC32KCTRL,
Expand Down
8 changes: 4 additions & 4 deletions hal/src/thumbv7em/clock/v2/presets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ macro_rules! clocking_preset_gclk0_120mhz_gclk5_2mhz {
///
/// with configured external 32k crystal oscillator:
///
/// - [`Xosc32k<Xosc32kMode>`][`super::xosc32k::Xosc32k`] (`32 KHz`)
/// - [`Gclk1<Osc32k>`][`super::gclk::Gclk1`] (`32 KHz`)
/// - [`Xosc32k<Xosc32kMode>`][`super::xosc32k::Xosc32k`] (`32 kHz`)
/// - [`Gclk1<Osc32k>`][`super::gclk::Gclk1`] (`32 kHz`)
///
/// Input arguments for this macro can be retrieved by calling
/// [`retrieve_clocks`][`crate::clock::v2::retrieve_clocks`] function.
Expand Down Expand Up @@ -113,8 +113,8 @@ macro_rules! clocking_preset_gclk0_120mhz_gclk5_2mhz_gclk1_external_32khz {
///
/// with internal, ultra low power 32k oscillator:
///
/// - [`OscUlp32k`][`super::osculp32k::OscUlp32k`] (`32 KHz`)
/// - [`Gclk1<Ulp32k>`][`super::gclk::Gclk1`] (`32 KHz`)
/// - [`OscUlp32k`][`super::osculp32k::OscUlp32k`] (`32 kHz`)
/// - [`Gclk1<Ulp32k>`][`super::gclk::Gclk1`] (`32 kHz`)
///
/// Input arguments for this macro can be retrieved by calling
/// [`retrieve_clocks`][`crate::clock::v2::retrieve_clocks`] function.
Expand Down

0 comments on commit cf44f4b

Please sign in to comment.