File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ pub unsafe fn enable() {
5454
5555/// Execute closure `f` with interrupts disabled in the current core.
5656///
57- /// This method does not synchronise multiple cores and may disable required
57+ /// This method does not synchronize multiple cores and may disable required
5858/// interrupts on some platforms; see the `critical-section` crate for a cross-platform
5959/// way to enter a critical section which provides a `CriticalSection` token.
6060///
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ macro_rules! iprintln {
3737/// have to provide one from elsewhere, typically your chip's HAL crate.
3838///
3939/// For debuggability, you can set an explicit name for a singleton. This name only shows up the
40- /// the debugger and is not referencable from other code. See example below.
40+ /// the debugger and is not referenceable from other code. See example below.
4141///
4242/// # Example
4343///
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pub struct RegisterBlock {
1616 /// AHB Slave Control Register
1717 pub ahbscr : RW < u32 > ,
1818 reserved0 : u32 ,
19- /// Auxilary Bus Fault Status Register
19+ /// Auxiliary Bus Fault Status Register
2020 pub abfsr : RW < u32 > ,
2121}
2222
Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ impl SCB {
362362 let mut cbp = unsafe { CBP :: new ( ) } ;
363363
364364 // Disable I-cache
365- // NOTE(unsafe): We have synchronised access by &mut self
365+ // NOTE(unsafe): We have synchronized access by &mut self
366366 unsafe { self . ccr . modify ( |r| r & !SCB_CCR_IC_MASK ) } ;
367367
368368 // Invalidate I-cache
@@ -435,7 +435,7 @@ impl SCB {
435435 }
436436
437437 // Turn off the D-cache
438- // NOTE(unsafe): We have synchronised access by &mut self
438+ // NOTE(unsafe): We have synchronized access by &mut self
439439 unsafe { self . ccr . modify ( |r| r & !SCB_CCR_DC_MASK ) } ;
440440
441441 // Clean and invalidate whatever was left in it
You can’t perform that action at this time.
0 commit comments