esp-hal/esp-hal-common/src/soc/esp32h2/mod.rs
Juraj Sadel 3b689b2a52
H2: Add I2S support (#597)
* H2: Add initial i2s support and i2s_read and i2s_sound examples

* Add I2S_SCLK and I2S_DEFAULT_CLK_SRC constants for all chips

* Update I2S driver

* fmt

* Add changelog

* Change DIN GPIO17 to GPIO14 in ESP32 i2s_read example
2023-06-19 06:24:09 -07:00

16 lines
314 B
Rust

pub mod efuse;
pub mod gpio;
pub mod peripherals;
pub mod radio_clocks;
pub(crate) mod registers {
pub const INTERRUPT_MAP_BASE: u32 = 0x60010000;
}
pub(crate) mod constants {
pub const TIMG_DEFAULT_CLK_SRC: u8 = 2;
pub const I2S_DEFAULT_CLK_SRC: u8 = 1;
pub const I2S_SCLK: u32 = 96_000_000;
}