diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-03-21 02:24:59 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-03-21 02:24:59 +0100 |
commit | 0a5f8363fe4e6b3c7d4f17fde61e00ab63e43bcb (patch) | |
tree | 6c99f62b31cb52820ba7fb97edc5f95d5db4d0bf /fw/fe310/eos/board.h | |
parent | 2e2dda8fa91b946c7d1a3a2de00327ee74f398fc (diff) |
i2s stereo driver
Diffstat (limited to 'fw/fe310/eos/board.h')
-rw-r--r-- | fw/fe310/eos/board.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fw/fe310/eos/board.h b/fw/fe310/eos/board.h index a695029..a18b58f 100644 --- a/fw/fe310/eos/board.h +++ b/fw/fe310/eos/board.h @@ -30,14 +30,14 @@ #define I2S_PIN_SD_IN 13 #define I2S_PIN_SD_OUT 12 -#define I2S_IRQ_WS_ID (INT_PWM2_BASE + 0) -#define I2S_IRQ_SD_ID (INT_PWM2_BASE + 3) +#define I2S_IRQ_WS_ID (INT_PWM1_BASE + 0) +#define I2S_IRQ_SD_ID (INT_PWM1_BASE + 3) #define I2S_CTRL_ADDR_CK PWM0_CTRL_ADDR #define I2S_CTRL_ADDR_WS_MIC PWM1_CTRL_ADDR #define I2S_CTRL_ADDR_WS_SPK PWM2_CTRL_ADDR -#define I2S_IDLE_CYCLES 8 +#define I2S_IDLE_CYCLES 1 #define CTP_PIN_INT 1 #define CTP_PIN_RST 19 @@ -46,5 +46,5 @@ #define EVE_GPIO_CAM 0 #define EVE_GPIO_LCD_EN 1 -#define EVE_GPIO_GAIN_SEL 2 +#define EVE_GPIO_GAIN 2 #define EVE_GPIO_HAPT 3 |