summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/export/as3525.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/firmware/export/as3525.h b/firmware/export/as3525.h
index 245f4ae963..be373f31fd 100644
--- a/firmware/export/as3525.h
+++ b/firmware/export/as3525.h
@@ -378,7 +378,7 @@ interface */
#define INTERRUPT_DMAC (1<<4)
#define INTERRUPT_NAND (1<<5)
#define INTERRUPT_IDE (1<<6)
-#define INTERRUPT_MCI0 (1<<1<<7)
+#define INTERRUPT_MCI0 (1<<7)
#define INTERRUPT_MCI1 (1<<8)
#define INTERRUPT_AUDIO (1<<9)
#define INTERRUPT_SSP (1<<10)
@@ -397,4 +397,13 @@ interface */
#define INTERRUPT_GPIOB (1<<30)
#define INTERRUPT_GPIOC (1<<31)
+/* I2SOUT registers */
+
+#define I2SOUT_CONTROL (*(volatile unsigned char*)(I2SOUT_BASE+0x00))
+#define I2SOUT_MASK (*(volatile unsigned char*)(I2SOUT_BASE+0x04))
+#define I2SOUT_RAW_STATUS (*(volatile unsigned char*)(I2SOUT_BASE+0x08))
+#define I2SOUT_STATUS (*(volatile unsigned char*)(I2SOUT_BASE+0x0C))
+#define I2SOUT_CLEAR (*(volatile unsigned char*)(I2SOUT_BASE+0x10))
+#define I2SOUT_DATA (volatile unsigned long*)(I2SOUT_BASE+0x14)
+
#endif /*__AS3525_H__*/