Skip to content

Commit 0361953

Browse files
newAMthejpster
authored andcommitted
cortex-m: fix typos
1 parent 3d33a18 commit 0361953

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cortex-m/src/peripheral/ac.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

cortex-m/src/peripheral/scb.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ impl SCB {
344344
let mut cbp = unsafe { CBP::new() };
345345

346346
// Disable I-cache
347-
// NOTE(unsafe): We have synchronised access by &mut self
347+
// NOTE(unsafe): We have synchronized access by &mut self
348348
unsafe { self.ccr.modify(|r| r & !SCB_CCR_IC_MASK) };
349349

350350
// Invalidate I-cache
@@ -417,7 +417,7 @@ impl SCB {
417417
}
418418

419419
// Turn off the D-cache
420-
// NOTE(unsafe): We have synchronised access by &mut self
420+
// NOTE(unsafe): We have synchronized access by &mut self
421421
unsafe { self.ccr.modify(|r| r & !SCB_CCR_DC_MASK) };
422422

423423
// Clean and invalidate whatever was left in it

0 commit comments

Comments
 (0)