mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-12 01:25:36 +00:00
STM32 I2S driver implementation. It has been designed in the most generic way possible, with the possibility of using it in master/slave and rx/tx mode. Currenty it has been tested for master rx mode only using the microphone on ArgonKey board. The configuration file permits to compile it for STM32F4xx product family only, but it should be easy to extend it also for other families. It supports all 5 STM32F4xx I2S controllers (I2S 1/4/5 on APB2 and I2S 2/3 on APB1). It makes uses of the available DMA channels for rx/tx streams. The clock source can be selected among one of the following two choices: - PLLI2S pll, with possibility to configure PLLM/PLLN/PLLR - HSE/HSI clock Interrupt is triggered only in case of errors (FRM/OVR/UDR). Signed-off-by: Armando Visconti <armando.visconti@st.com>
8 lines
303 B
CMake
8 lines
303 B
CMake
zephyr_library()
|
|
|
|
zephyr_library_sources(i2s_common.c)
|
|
zephyr_library_sources_ifdef(CONFIG_I2S_SAM_SSC i2s_sam_ssc.c)
|
|
zephyr_library_sources_ifdef(CONFIG_I2S_CAVS i2s_cavs.c)
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE i2s_handlers.c)
|
|
zephyr_library_sources_ifdef(CONFIG_I2S_STM32 i2s_ll_stm32.c)
|