diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a3e4b6c..8a0c4166 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -89,7 +89,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Replace gpio traits with digital::v2 - Bump `stm32f1` dependency (`0.8.0`) - ADC now requires the clock configuration for initialisation -- `disable_jtag` now transforms PA15, PB3 and PB4 to forbid their use without desactivating JTAG +- `disable_jtag` now transforms PA15, PB3 and PB4 to forbid their use without deactivating JTAG ### Changed diff --git a/examples/adc-dma-circ.rs b/examples/adc-dma-circ.rs index d2294797..6ccc658f 100644 --- a/examples/adc-dma-circ.rs +++ b/examples/adc-dma-circ.rs @@ -17,7 +17,7 @@ use cortex_m_rt::entry; #[entry] fn main() -> ! { - // Aquire peripherals + // Acquire peripherals let p = pac::Peripherals::take().unwrap(); let mut flash = p.FLASH.constrain(); let mut rcc = p.RCC.constrain(); diff --git a/examples/adc-dma-rx.rs b/examples/adc-dma-rx.rs index 2917183a..272b0fc7 100644 --- a/examples/adc-dma-rx.rs +++ b/examples/adc-dma-rx.rs @@ -16,7 +16,7 @@ use cortex_m_rt::entry; #[entry] fn main() -> ! { - // Aquire peripherals + // Acquire peripherals let p = pac::Peripherals::take().unwrap(); let mut flash = p.FLASH.constrain(); let mut rcc = p.RCC.constrain(); diff --git a/examples/adc.rs b/examples/adc.rs index f9b1896d..ca6e2092 100644 --- a/examples/adc.rs +++ b/examples/adc.rs @@ -15,7 +15,7 @@ use cortex_m_semihosting::hprintln; #[entry] fn main() -> ! { - // Aquire peripherals + // Acquire peripherals let p = pac::Peripherals::take().unwrap(); let mut flash = p.FLASH.constrain(); let mut rcc = p.RCC.constrain(); diff --git a/examples/adc_temperature.rs b/examples/adc_temperature.rs index 00ceebb4..4aeec956 100644 --- a/examples/adc_temperature.rs +++ b/examples/adc_temperature.rs @@ -15,7 +15,7 @@ use cortex_m_semihosting::hprintln; #[entry] fn main() -> ! { - // Aquire peripherals + // Acquire peripherals let p = pac::Peripherals::take().unwrap(); let mut flash = p.FLASH.constrain(); let mut rcc = p.RCC.constrain(); diff --git a/src/rtc.rs b/src/rtc.rs index ba4a7091..7d3f4cfa 100644 --- a/src/rtc.rs +++ b/src/rtc.rs @@ -199,7 +199,7 @@ impl Rtc { // Put the clock into config mode self.regs.crl.modify(|_, w| w.cnf().set_bit()); - // Perform the write opertaion + // Perform the write operation func(self); // Take the device out of config mode