drv_i2s.h 276 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2022 HPMicro
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef DRV_I2S_H
  7. #define DRV_I2S_H
  8. #define I2S_FIFO_SIZE (2048)
  9. /* channel parameter of I2S intsance */
  10. #define AUDIO_PARM_I2S_DATA_LINE 4
  11. int rt_hw_i2s_init(void);
  12. #endif /* DRV_I2S_H */