summaryrefslogtreecommitdiffstats
path: root/firmware/export/as3525.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-11-28 00:37:12 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-11-28 00:37:12 +0000
commitddaa878097a7d78d974badbd5a7845587c695392 (patch)
tree8b9ae8a8bcfbf5f17d43f015d6c758a2db847f2d /firmware/export/as3525.h
parent113c285045c45a48636bdec91825c53763ae747e (diff)
downloadrockbox-ddaa878097a7d78d974badbd5a7845587c695392.tar.gz
rockbox-ddaa878097a7d78d974badbd5a7845587c695392.tar.bz2
rockbox-ddaa878097a7d78d974badbd5a7845587c695392.zip
Sansa AMS: I2SOUT registers definitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19251 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/as3525.h')
-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__*/