summaryrefslogtreecommitdiff
path: root/code/fe310/eos/i2s_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/i2s_def.h')
-rw-r--r--code/fe310/eos/i2s_def.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/code/fe310/eos/i2s_def.h b/code/fe310/eos/i2s_def.h
index 0f3207e..4a7fd85 100644
--- a/code/fe310/eos/i2s_def.h
+++ b/code/fe310/eos/i2s_def.h
@@ -15,15 +15,16 @@
#define I2S_IRQ_CI_ID (INT_PWM2_BASE + 2)
#define I2S_IRQ_SD_PRIORITY 7
-#define I2S_IRQ_CK_PRIORITY 7
+#define I2S_IRQ_CK_PRIORITY 6
#define I2S_IRQ_WS_PRIORITY 6
-#define I2S_IRQ_CI_PRIORITY 6
+#define I2S_IRQ_CI_PRIORITY 7
#define I2S_IRQ_MASK 5
#define I2S_SMPL_BITS 13
#define I2S_SMPL_BITS_S 5
#define I2S_PWM_SCALE_CK 2
+#define I2S_PWM_SCALE_CK_MASK 0x0003
#define I2S_ABUF_SIZE_CHUNK 16
/* asm */