* 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
16 lines
314 B
Rust
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;
|
|
}
|