Skip to content

Commit

Permalink
Undo doc comments cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
playfulFence committed Nov 7, 2024
1 parent 5868c10 commit 5dc062f
Show file tree
Hide file tree
Showing 15 changed files with 47 additions and 0 deletions.
2 changes: 2 additions & 0 deletions esp-hal/src/soc/esp32/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! # SOC (System-on-Chip) module (ESP32)
//!
//! ## Overview
//!
//! The `SOC` module provides access, functions and structures that are useful
Expand Down
2 changes: 2 additions & 0 deletions esp-hal/src/soc/esp32c2/gpio.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! # GPIO configuration module (ESP32-C2)
//!
//! ## Overview
//!
//! The `GPIO` module provides functions and configurations for controlling the
Expand Down
2 changes: 2 additions & 0 deletions esp-hal/src/soc/esp32c2/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! # SOC (System-on-Chip) module (ESP32-C2)
//!
//! ## Overview
//!
//! The `SOC` module provides access, functions and structures that are useful
Expand Down
2 changes: 2 additions & 0 deletions esp-hal/src/soc/esp32c3/gpio.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! # GPIO configuration module (ESP32-C3)
//!
//! ## Overview
//!
//! The `GPIO` module provides functions and configurations for controlling the
Expand Down
6 changes: 6 additions & 0 deletions esp-hal/src/soc/esp32c3/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
//! # SOC (System-on-Chip) module (ESP32-C3)
//!
//! ## Overview
//!
//! The `SOC` module provides access, functions and structures that are useful
//! for interacting with various system-related peripherals on `ESP32-C3` chip.
//!
//! Also few constants are defined in this module for `ESP32-C3` chip:
//! * I2S_SCLK: 160_000_000 - I2S clock frequency
//! * I2S_DEFAULT_CLK_SRC: 2 - I2S clock source

pub mod efuse;
pub mod gpio;
Expand Down
2 changes: 2 additions & 0 deletions esp-hal/src/soc/esp32c6/gpio.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! # GPIO configuration module (ESP32-C6)
//!
//! ## Overview
//!
//! The `GPIO` module provides functions and configurations for controlling the
Expand Down
7 changes: 7 additions & 0 deletions esp-hal/src/soc/esp32c6/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
//! # SOC (System-on-Chip) module (ESP32-C6)
//!
//! ## Overview
//!
//! The `SOC` module provides access, functions and structures that are useful
//! for interacting with various system-related peripherals on `ESP32-C6` chip.
//!
//! Also few constants are defined in this module for `ESP32-C6` chip:
//! * TIMG_DEFAULT_CLK_SRC: 1 - Timer clock source
//! * I2S_DEFAULT_CLK_SRC: 2 - I2S clock source
//! * I2S_SCLK: 160_000_000 - I2S clock frequency

pub mod efuse;
pub mod gpio;
Expand Down
2 changes: 2 additions & 0 deletions esp-hal/src/soc/esp32h2/gpio.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! # GPIO configuration module (ESP32-H2)
//!
//! ## Overview
//!
//! The `GPIO` module provides functions and configurations for controlling the
Expand Down
2 changes: 2 additions & 0 deletions esp-hal/src/soc/esp32h2/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! # SOC (System-on-Chip) module (ESP32-H2)
//!
//! ## Overview
//!
//! The `SOC` module provides access, functions and structures that are useful
Expand Down
2 changes: 2 additions & 0 deletions esp-hal/src/soc/esp32p4/gpio.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! # GPIO configuration module (ESP32-P4)
//!
//! ## Overview
//!
//! The `GPIO` module provides functions and configurations for controlling the
Expand Down
2 changes: 2 additions & 0 deletions esp-hal/src/soc/esp32p4/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! # SOC (System-on-Chip) module (ESP32-P4)
//!
//! ## Overview
//!
//! The `SOC` module provides access, functions and structures that are useful
Expand Down
2 changes: 2 additions & 0 deletions esp-hal/src/soc/esp32s2/gpio.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! # GPIO configuration module (ESP32-S2)
//!
//! ## Overview
//!
//! The `GPIO` module provides functions and configurations for controlling the
Expand Down
6 changes: 6 additions & 0 deletions esp-hal/src/soc/esp32s2/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
//! # SOC (System-on-Chip) module (ESP32-S2)
//!
//! ## Overview
//!
//! The `SOC` module provides access, functions and structures that are useful
//! for interacting with various system-related peripherals on `ESP32-S2` chip.
//!
//! Also few constants are defined in this module for `ESP32-S2` chip:
//! * I2S_SCLK: 160_000_000 - I2S clock frequency
//! * I2S_DEFAULT_CLK_SRC: 2 - I2S clock source

use core::ptr::addr_of_mut;

Expand Down
2 changes: 2 additions & 0 deletions esp-hal/src/soc/esp32s3/gpio.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! # GPIO configuration module (ESP32-S3)
//!
//! ## Overview
//!
//! The `GPIO` module provides functions and configurations for controlling the
Expand Down
6 changes: 6 additions & 0 deletions esp-hal/src/soc/esp32s3/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
//! # SOC (System-on-Chip) module (ESP32-S3)
//!
//! ## Overview
//!
//! The `SOC` module provides access, functions and structures that are useful
//! for interacting with various system-related peripherals on `ESP32-S3` chip.
//!
//! Also few constants are defined in this module for `ESP32-S3` chip:
//! * I2S_SCLK: 160_000_000 - I2S clock frequency
//! * I2S_DEFAULT_CLK_SRC: 2 - I2S clock source

use core::ptr::addr_of_mut;

Expand Down

0 comments on commit 5dc062f

Please sign in to comment.