Skip to content

Commit 277c7fa

Browse files
authored
Merge pull request #607 from stm32-rs/typos
fix typos
2 parents 1b103a4 + 1bc1506 commit 277c7fa

18 files changed

+30
-30
lines changed

CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
8080
- Update `bxcan`, `rtic` and other dependencies [#519]
8181
- Bump `synopsys-usb-otg` to `0.3.1` [#535]
8282
- Renamed and updated rtic-button example (was rtic) [#551]
83-
- Rename adc_dma_rtic to rtic-adc-dma and move it ot defmt [#552]
83+
- Rename adc_dma_rtic to rtic-adc-dma and move it to defmt [#552]
8484
- Rename spi_slave_dma_rtic to rtic-spi-slave-dma and unbroke it [#552]
8585
- Rename i2s-rtic-audio-in-out to rtic-i2s-audio-in-out [#552]
8686

@@ -388,7 +388,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
388388
- Features corresponding to peripherals [#311]
389389
- Improved documentation of rng and prelude [#303]
390390
- Added an example of integration with RTIC [#295]
391-
- Added internal pullup configuaration for the AlternateOD pin type [#298]
391+
- Added internal pullup configuration for the AlternateOD pin type [#298]
392392
- Added USART support for sending and receiving 9-bit words [#299]
393393
- Added support for I2S communication using SPI peripherals, and two examples [#265]
394394
- Added support for some LCD controllers using the Flexible Static Memory
@@ -399,7 +399,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
399399
- Derive `Eq`, `PartialEq`, `Copy` and `Clone` for error types [#306]
400400
- Added open-drain pin mode support for PWM output [#313]
401401
- Added missing error flags for dma streams [#318]
402-
- Added PWM input capability to all compatable timers [#271]
402+
- Added PWM input capability to all compatible timers [#271]
403403
- Bidi mode support for SPI [#349]
404404
- Added `listen` and `unlisten` for RX- and TX-only USART [#357]
405405
- Added function for clearing the idle line interrupt in USART [#357]
@@ -545,7 +545,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
545545
- Added `check_interrupt` method for GPIO pins
546546
- Basic support for DAC
547547
- Add initial DMA support
548-
- Allow specification of ADC reference voltage in ADC configuraton structure
548+
- Allow specification of ADC reference voltage in ADC configuration structure
549549
- Added support for hardware-based CRC32 functionality
550550
- Add `MonoTimer` and `Instant` structs for basic time measurement.
551551
- Added support for I2S and SAI clocks
@@ -756,11 +756,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
756756

757757
### Changed
758758

759-
- Made the `rt` feature of stm32f4 optionnal.
759+
- Made the `rt` feature of stm32f4 optional.
760760

761761
### Fixed
762762

763-
- Avoid overwritting the cache bits in `flash.acr`.
763+
- Avoid overwriting the cache bits in `flash.acr`.
764764

765765
## [v0.2.3] - 2018-11-04
766766

examples/blinky-timer-irq.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static G_LED: Mutex<RefCell<Option<LedPin>>> = Mutex::new(RefCell::new(None));
3737
// Make timer interrupt registers globally available
3838
static G_TIM: Mutex<RefCell<Option<CounterUs<TIM2>>>> = Mutex::new(RefCell::new(None));
3939

40-
// Define an interupt handler, i.e. function to call when interrupt occurs.
40+
// Define an interrupt handler, i.e. function to call when interrupt occurs.
4141
// This specific interrupt will "trip" when the timer TIM2 times out
4242
#[interrupt]
4343
fn TIM2() {

examples/can-send.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fn main() -> ! {
6363
can2
6464
};
6565

66-
// Drop filters to leave filter configuraiton mode.
66+
// Drop filters to leave filter configuration mode.
6767
drop(filters);
6868

6969
// Select the interface.

examples/display-touch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ fn main() -> ! {
154154
// The touch coordinates and shapes are adjusted accordingly.
155155
rprintln!("The orientation set is {}", disp.orientation() as u8);
156156

157-
// Intializing the i2c bus for touchscreen
157+
// Initializing the i2c bus for touchscreen
158158
rprintln!("Connecting to I2c");
159159

160160
// Declare the pins for i2c address bus on each board.

examples/rtic-i2s-audio-in-out.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ mod app {
341341
// in case of udr this resynchronize tracked and actual channel
342342
_ => {
343343
*frame_state = LeftMsb;
344-
data = 0; //garbage data to avoid additional underrrun
344+
data = 0; //garbage data to avoid additional underrun
345345
}
346346
}
347347
i2s3_driver.write_data_register(data);

examples/ws2812-spi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fn main() -> ! {
3333
const NUM_LEDS: usize = 8;
3434
let mut data = [RGB8::default(); NUM_LEDS];
3535

36-
// Wait before start write for syncronization
36+
// Wait before start write for synchronization
3737
delay.delay(200.micros());
3838

3939
loop {

src/adc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ pub mod config {
258258
Tim_5_cc_2,
259259
/// TIM5 compare channel 3
260260
Tim_5_cc_3,
261-
/// External interupt line 11
261+
/// External interrupt line 11
262262
Exti_11,
263263
}
264264
impl From<ExternalTrigger> for u8 {

src/gpio.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ pub type Debugger = Alternate<0, PushPull>;
136136

137137
pub(crate) mod marker {
138138
/// Marker trait that show if `ExtiPin` can be implemented
139-
pub trait Interruptable {}
139+
pub trait Interruptible {}
140140
/// Marker trait for readable pin modes
141141
pub trait Readable {}
142142
/// Marker trait for slew rate configurable pin modes
@@ -149,11 +149,11 @@ pub(crate) mod marker {
149149
pub trait IntoAf<const A: u8> {}
150150
}
151151

152-
impl<MODE> marker::Interruptable for Output<MODE> {}
153-
impl marker::Interruptable for Input {}
152+
impl<MODE> marker::Interruptible for Output<MODE> {}
153+
impl marker::Interruptible for Input {}
154154
impl marker::Readable for Input {}
155155
impl marker::Readable for Output<OpenDrain> {}
156-
impl<const A: u8, Otype> marker::Interruptable for Alternate<A, Otype> {}
156+
impl<const A: u8, Otype> marker::Interruptible for Alternate<A, Otype> {}
157157
impl<const A: u8, Otype> marker::Readable for Alternate<A, Otype> {}
158158
impl marker::Active for Input {}
159159
impl<Otype> marker::OutputSpeed for Output<Otype> {}

src/gpio/dynamic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl Dynamic {
5050
}
5151
}
5252

53-
// For convertion simplify
53+
// For conversion simplify
5454
struct Unknown;
5555

5656
impl crate::Sealed for Unknown {}

src/gpio/exti.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub trait ExtiPin {
4747
impl<PIN> ExtiPin for PIN
4848
where
4949
PIN: PinExt,
50-
PIN::Mode: marker::Interruptable,
50+
PIN::Mode: marker::Interruptible,
5151
{
5252
#[inline(always)]
5353
fn make_interrupt_source(&mut self, syscfg: &mut SysCfg) {

0 commit comments

Comments
 (0)