diff --git a/cortex-m/src/interrupt.rs b/cortex-m/src/interrupt.rs index f6ce9908..6b8f9e96 100644 --- a/cortex-m/src/interrupt.rs +++ b/cortex-m/src/interrupt.rs @@ -54,7 +54,7 @@ pub unsafe fn enable() { /// Execute closure `f` with interrupts disabled in the current core. /// -/// This method does not synchronise multiple cores and may disable required +/// This method does not synchronize multiple cores and may disable required /// interrupts on some platforms; see the `critical-section` crate for a cross-platform /// way to enter a critical section which provides a `CriticalSection` token. /// diff --git a/cortex-m/src/macros.rs b/cortex-m/src/macros.rs index ba780481..c2f45083 100644 --- a/cortex-m/src/macros.rs +++ b/cortex-m/src/macros.rs @@ -37,7 +37,7 @@ macro_rules! iprintln { /// have to provide one from elsewhere, typically your chip's HAL crate. /// /// For debuggability, you can set an explicit name for a singleton. This name only shows up the -/// the debugger and is not referencable from other code. See example below. +/// the debugger and is not referenceable from other code. See example below. /// /// # Example /// diff --git a/cortex-m/src/peripheral/ac.rs b/cortex-m/src/peripheral/ac.rs index 1ac5be10..6169b654 100644 --- a/cortex-m/src/peripheral/ac.rs +++ b/cortex-m/src/peripheral/ac.rs @@ -16,7 +16,7 @@ pub struct RegisterBlock { /// AHB Slave Control Register pub ahbscr: RW, reserved0: u32, - /// Auxilary Bus Fault Status Register + /// Auxiliary Bus Fault Status Register pub abfsr: RW, } diff --git a/cortex-m/src/peripheral/scb.rs b/cortex-m/src/peripheral/scb.rs index 7fa25b9a..46eb3a4e 100644 --- a/cortex-m/src/peripheral/scb.rs +++ b/cortex-m/src/peripheral/scb.rs @@ -362,7 +362,7 @@ impl SCB { let mut cbp = unsafe { CBP::new() }; // Disable I-cache - // NOTE(unsafe): We have synchronised access by &mut self + // NOTE(unsafe): We have synchronized access by &mut self unsafe { self.ccr.modify(|r| r & !SCB_CCR_IC_MASK) }; // Invalidate I-cache @@ -435,7 +435,7 @@ impl SCB { } // Turn off the D-cache - // NOTE(unsafe): We have synchronised access by &mut self + // NOTE(unsafe): We have synchronized access by &mut self unsafe { self.ccr.modify(|r| r & !SCB_CCR_DC_MASK) }; // Clean and invalidate whatever was left in it