2022-09-06 12:48:16 +08:00
|
|
|
/*
|
2023-08-15 18:41:20 +08:00
|
|
|
* Copyright (c) 2022 HPMicro
|
2022-09-06 12:48:16 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef DRV_I2S_H
|
|
|
|
#define DRV_I2S_H
|
|
|
|
|
|
|
|
#define I2S_FIFO_SIZE (2048)
|
|
|
|
|
2024-05-31 19:46:47 +08:00
|
|
|
/* channel parameter of I2S intsance */
|
2022-09-06 12:48:16 +08:00
|
|
|
#define AUDIO_PARM_I2S_DATA_LINE 4
|
|
|
|
|
|
|
|
int rt_hw_i2s_init(void);
|
|
|
|
|
|
|
|
#endif /* DRV_I2S_H */
|
|
|
|
|