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() {
54
54
55
55
/// Execute closure `f` with interrupts disabled in the current core.
56
56
///
57
- /// This method does not synchronise multiple cores and may disable required
57
+ /// This method does not synchronize multiple cores and may disable required
58
58
/// interrupts on some platforms; see the `critical-section` crate for a cross-platform
59
59
/// way to enter a critical section which provides a `CriticalSection` token.
60
60
///
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ macro_rules! iprintln {
37
37
/// have to provide one from elsewhere, typically your chip's HAL crate.
38
38
///
39
39
/// 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.
41
41
///
42
42
/// # Example
43
43
///
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pub struct RegisterBlock {
16
16
/// AHB Slave Control Register
17
17
pub ahbscr : RW < u32 > ,
18
18
reserved0 : u32 ,
19
- /// Auxilary Bus Fault Status Register
19
+ /// Auxiliary Bus Fault Status Register
20
20
pub abfsr : RW < u32 > ,
21
21
}
22
22
Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ impl SCB {
362
362
let mut cbp = unsafe { CBP :: new ( ) } ;
363
363
364
364
// Disable I-cache
365
- // NOTE(unsafe): We have synchronised access by &mut self
365
+ // NOTE(unsafe): We have synchronized access by &mut self
366
366
unsafe { self . ccr . modify ( |r| r & !SCB_CCR_IC_MASK ) } ;
367
367
368
368
// Invalidate I-cache
@@ -435,7 +435,7 @@ impl SCB {
435
435
}
436
436
437
437
// 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
439
439
unsafe { self . ccr . modify ( |r| r & !SCB_CCR_DC_MASK ) } ;
440
440
441
441
// Clean and invalidate whatever was left in it
You can’t perform that action at this time.
0 commit comments