summaryrefslogtreecommitdiffstats
path: root/firmware/export/as3525.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-11-24 17:59:25 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-11-24 17:59:25 +0000
commit231e54d80f27e2df33e3f3c8b56e81e15738d81a (patch)
treeba379976493670894db4356a22feb9850ca013ee /firmware/export/as3525.h
parentcb9dff0a95cc98d83d6e1445c20bdad53614fe00 (diff)
downloadrockbox-231e54d80f27e2df33e3f3c8b56e81e15738d81a.tar.gz
rockbox-231e54d80f27e2df33e3f3c8b56e81e15738d81a.tar.bz2
rockbox-231e54d80f27e2df33e3f3c8b56e81e15738d81a.zip
Sansa AMS : fix recording
Flyspray: FS#10371 Authors: Fred Bauer and myself Only enabled on e200v2 and Fuze (crashes on clipv1) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23739 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/as3525.h')
-rw-r--r--firmware/export/as3525.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/export/as3525.h b/firmware/export/as3525.h
index 07f78dafcf..d23bc2b0c8 100644
--- a/firmware/export/as3525.h
+++ b/firmware/export/as3525.h
@@ -517,5 +517,14 @@ interface */
#define I2SIN_DATA (volatile unsigned long*)(I2SIN_BASE+0x14)
#define I2SIN_SPDIF_STATUS (*(volatile unsigned long*)(I2SIN_BASE+0x18))
+/* I2SIN_MASK */
+
+#define I2SIN_MASK_PUER ( 1<<6 ) /* push error */
+#define I2SIN_MASK_POE ( 1<<5 ) /* empty */
+#define I2SIN_MASK_POAE ( 1<<4 ) /* almost empty */
+#define I2SIN_MASK_POHF ( 1<<3 ) /* half full */
+#define I2SIN_MASK_POAF ( 1<<2 ) /* almost full */
+#define I2SIN_MASK_POF ( 1<<1 ) /* full */
+#define I2SIN_MASK_POER ( 1<<0 ) /* pop error */
#endif /*__AS3525_H__*/