i2s: add XTAL clock source

This commit is contained in:
laokaiyao
2022-09-15 17:27:57 +08:00
parent 77ce37f235
commit 7197e987cb
26 changed files with 156 additions and 61 deletions

View File

@@ -29,7 +29,6 @@ extern "C" {
#define I2S_LL_AD_BCK_FACTOR (2)
#define I2S_LL_PDM_BCK_FACTOR (64)
#define I2S_LL_BASE_CLK (2 * APB_CLK_FREQ)
#define I2S_LL_MCLK_DIVIDER_BIT_WIDTH (6)
#define I2S_LL_MCLK_DIVIDER_MAX ((1 << I2S_LL_MCLK_DIVIDER_BIT_WIDTH) - 1)