Skip to content

Commit 63a2d40

Browse files
authored
Fix some typos (esp-rs#1930)
1 parent 1371b11 commit 63a2d40

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

esp-hal/src/analog/adc/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ mod implementation;
6666

6767
/// The attenuation of the ADC pin.
6868
///
69-
/// The effective measurement range for a given attuenation is dependent on the
69+
/// The effective measurement range for a given attenuation is dependent on the
7070
/// device being targeted. Please refer to "ADC Characteristics" section of your
7171
/// device's datasheet for more information.
7272
#[derive(Debug, Clone, Copy, PartialEq, Eq)]

esp-hal/src/dma/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! ## Overview
44
//! The DMA driver provides an interface to efficiently transfer data between
55
//! different memory regions and peripherals within the ESP microcontroller
6-
//! without involving the CPU. The DMA controller is reponsible for managing
6+
//! without involving the CPU. The DMA controller is responsible for managing
77
//! these data transfers.
88
//!
99
//! Notice, that this module is a common version of the DMA driver, `ESP32` and

esp-hal/src/gpio/etm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//! reversed
2323
//!
2424
//! ## Examples
25-
//! ### Toogle an LED When a Button is Pressed
25+
//! ### Toggle an LED When a Button is Pressed
2626
//! ```rust, no_run
2727
#![doc = crate::before_snippet!()]
2828
//! # use esp_hal::gpio::Io;

esp-hal/src/rsa/esp32sX.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ impl<'d, DM: crate::Mode> Rsa<'d, DM> {
2121
Ok(())
2222
}
2323

24-
/// Enables/disables rsa interrupt, when enabled rsa perpheral would
24+
/// Enables/disables rsa interrupt, when enabled rsa peripheral would
2525
/// generate an interrupt when a operation is finished.
2626
pub fn enable_disable_interrupt(&mut self, enable: bool) {
2727
match enable {

hil-test/tests/embassy_timers_executors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
//! - run_test_interrupt_executor(): Tests InterruptExecutor and Thread
1717
//! (default) executor in parallel
1818
//! - run_tick_test_timg(): Tests Timg configured as OneShotTimer if it fires
19-
//! immediatelly in the case of the time scheduling was already in the past
19+
//! immediately in the case of the time scheduling was already in the past
2020
//! (timestamp being too big)
2121
2222
// esp32c2 is disabled currently as it fails

0 commit comments

Comments
 (0)