diff --git a/esp-hal/src/soc/esp32/mod.rs b/esp-hal/src/soc/esp32/mod.rs index 8beeae79e..92a0b7bd9 100644 --- a/esp-hal/src/soc/esp32/mod.rs +++ b/esp-hal/src/soc/esp32/mod.rs @@ -44,7 +44,7 @@ pub(crate) mod constants { pub const I2S_DEFAULT_CLK_SRC: u32 = 2; /// The starting address of the Remote Control (RMT) module's RAM. pub const RMT_RAM_START: usize = 0x3ff56800; - /// The size, in bytes, of each RMT channel's dedicated RAM. + /// The size (number of pulse codes) of each RMT channel's dedicated RAM. pub const RMT_CHANNEL_RAM_SIZE: usize = 64; /// The lower bound of the system's DRAM (Data RAM) address space. pub const SOC_DRAM_LOW: usize = 0x3FFA_E000; diff --git a/esp-hal/src/soc/esp32c3/mod.rs b/esp-hal/src/soc/esp32c3/mod.rs index 226451009..ba327378c 100644 --- a/esp-hal/src/soc/esp32c3/mod.rs +++ b/esp-hal/src/soc/esp32c3/mod.rs @@ -47,7 +47,7 @@ pub(crate) mod constants { /// The starting address of the Remote Control (RMT) module's RAM. pub const RMT_RAM_START: usize = 0x60016400; - /// The size, in bytes, of each RMT channel's dedicated RAM. + /// The size (number of pulse codes) of each RMT channel's dedicated RAM. pub const RMT_CHANNEL_RAM_SIZE: usize = 48; /// RMT Clock source value. pub const RMT_CLOCK_SRC: u8 = 1; diff --git a/esp-hal/src/soc/esp32c6/mod.rs b/esp-hal/src/soc/esp32c6/mod.rs index 604fb25c2..f0603044e 100644 --- a/esp-hal/src/soc/esp32c6/mod.rs +++ b/esp-hal/src/soc/esp32c6/mod.rs @@ -52,7 +52,7 @@ pub(crate) mod constants { /// The starting address of the RMT (Remote Control) peripheral's RAM. pub const RMT_RAM_START: usize = 0x60006400; - /// The size of each RMT channel's RAM in bytes. + /// The size (number of pulse codes) of each RMT channel's dedicated RAM. pub const RMT_CHANNEL_RAM_SIZE: usize = 48; /// The default clock source for the RMT peripheral. pub const RMT_CLOCK_SRC: u8 = 1; diff --git a/esp-hal/src/soc/esp32h2/mod.rs b/esp-hal/src/soc/esp32h2/mod.rs index 127da29a9..7e7b707df 100644 --- a/esp-hal/src/soc/esp32h2/mod.rs +++ b/esp-hal/src/soc/esp32h2/mod.rs @@ -51,7 +51,7 @@ pub(crate) mod constants { /// Start address of the RMT (Remote Control) peripheral's RAM. pub const RMT_RAM_START: usize = 0x60007400; - /// Size of the RAM allocated per RMT channel, in bytes. + /// The size (number of pulse codes) of each RMT channel's dedicated RAM. pub const RMT_CHANNEL_RAM_SIZE: usize = 48; /// Clock source for the RMT peripheral (false = default source). pub const RMT_CLOCK_SRC: bool = false; diff --git a/esp-hal/src/soc/esp32s2/mod.rs b/esp-hal/src/soc/esp32s2/mod.rs index 90d54f986..16dadc6ea 100644 --- a/esp-hal/src/soc/esp32s2/mod.rs +++ b/esp-hal/src/soc/esp32s2/mod.rs @@ -48,7 +48,7 @@ pub(crate) mod constants { pub const I2S_DEFAULT_CLK_SRC: u32 = 2; /// Start address of the RMT (Remote Control) peripheral's RAM. pub const RMT_RAM_START: usize = 0x3f416400; - /// Size of the RAM allocated per RMT channel, in bytes. + /// The size (number of pulse codes) of each RMT channel's dedicated RAM. pub const RMT_CHANNEL_RAM_SIZE: usize = 64; /// Start address of the system's DRAM (low range). pub const SOC_DRAM_LOW: usize = 0x3FFB_0000; diff --git a/esp-hal/src/soc/esp32s3/mod.rs b/esp-hal/src/soc/esp32s3/mod.rs index 73464a419..ba9700c61 100644 --- a/esp-hal/src/soc/esp32s3/mod.rs +++ b/esp-hal/src/soc/esp32s3/mod.rs @@ -50,7 +50,7 @@ pub(crate) mod constants { /// The starting address of the Remote Control (RMT) module's RAM. pub const RMT_RAM_START: usize = 0x60016800; - /// The size, in bytes, of each RMT channel's dedicated RAM. + /// The size (number of pulse codes) of each RMT channel's dedicated RAM. pub const RMT_CHANNEL_RAM_SIZE: usize = 48; /// RMT Clock source value. pub const RMT_CLOCK_SRC: u8 = 1;