mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-10 18:06:29 +00:00
feat(soc): added soc support for esp32p4, part3
This commit is contained in:
34
components/soc/esp32p4/i2s_periph.c
Normal file
34
components/soc/esp32p4/i2s_periph.c
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "soc/i2s_periph.h"
|
||||
#include "soc/gpio_sig_map.h"
|
||||
|
||||
/*
|
||||
Bunch of constants for every I2S peripheral: GPIO signals, irqs, hw addr of registers etc
|
||||
*/
|
||||
const i2s_signal_conn_t i2s_periph_signal[SOC_I2S_NUM] = {
|
||||
{
|
||||
.mck_out_sig = 0,
|
||||
|
||||
.m_tx_bck_sig = 0,
|
||||
.m_rx_bck_sig = 0,
|
||||
.m_tx_ws_sig = 0,
|
||||
.m_rx_ws_sig = 0,
|
||||
|
||||
.s_tx_bck_sig = 0,
|
||||
.s_rx_bck_sig = 0,
|
||||
.s_tx_ws_sig = 0,
|
||||
.s_rx_ws_sig = 0,
|
||||
|
||||
.data_out_sigs[0] = 0,
|
||||
.data_out_sigs[1] = 0,
|
||||
.data_in_sig = 0,
|
||||
|
||||
.irq = -1,
|
||||
.module = PERIPH_I2S1_MODULE,
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user