summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-10-07 20:14:32 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-10-07 20:14:32 +0000
commit4512f1a14f78b764df1df934b8f95907ca7635cc (patch)
tree04233a362704efa31e962b1f1a1a901869abeb16 /firmware/export
parent1de497228a360288384e7a0c9754d49d10008adb (diff)
downloadrockbox-4512f1a14f78b764df1df934b8f95907ca7635cc.tar.gz
rockbox-4512f1a14f78b764df1df934b8f95907ca7635cc.zip
Finally get packed samples to work in a nice way on H10 in IIS mode. Add some more register defs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15026 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/pp5020.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h
index df8c8fb058..2c939300ab 100644
--- a/firmware/export/pp5020.h
+++ b/firmware/export/pp5020.h
@@ -307,8 +307,11 @@
307 307
308#define INIT_USB 0x80000000 308#define INIT_USB 0x80000000
309 309
310
310/* IIS */ 311/* IIS */
312#define IISDIV (*(volatile unsigned long*)(0x60006080))
311#define IISCONFIG (*(volatile unsigned long*)(0x70002800)) 313#define IISCONFIG (*(volatile unsigned long*)(0x70002800))
314#define IISCLK (*(volatile unsigned long*)(0x70002808))
312#define IISFIFO_CFG (*(volatile unsigned long*)(0x7000280c)) 315#define IISFIFO_CFG (*(volatile unsigned long*)(0x7000280c))
313#define IISFIFO_WR (*(volatile unsigned long*)(0x70002840)) 316#define IISFIFO_WR (*(volatile unsigned long*)(0x70002840))
314#define IISFIFO_WRH (*(volatile unsigned short*)(0x70002840)) 317#define IISFIFO_WRH (*(volatile unsigned short*)(0x70002840))
@@ -358,10 +361,14 @@
358 * I forgot which is which size but did test them. */ 361 * I forgot which is which size but did test them. */
359#define IIS_FIFO_FORMAT_1 (0x1 << 4) 362#define IIS_FIFO_FORMAT_1 (0x1 << 4)
360#define IIS_FIFO_FORMAT_2 (0x2 << 4) 363#define IIS_FIFO_FORMAT_2 (0x2 << 4)
361 /* 32bit-MSB-little endian */ 364/* 32bit-MSB-little endian */
362#define IIS_FIFO_FORMAT_LE32 (0x3 << 4) 365#define IIS_FIFO_FORMAT_LE32 (0x3 << 4)
363 /* 16bit-MSB-little endian */ 366/* 16bit-MSB-little endian */
364#define IIS_FIFO_FORMAT_LE16 (0x4 << 4) 367#define IIS_FIFO_FORMAT_LE16 (0x4 << 4)
368#define IIS_FIFO_FORMAT_5 (0x5 << 4)
369#define IIS_FIFO_FORMAT_6 (0x6 << 4)
370/* A second one like IIS_FIFO_FORMAT_LE16? PP5020 only? */
371#define IIS_FIFO_FORMAT_LE16_2 (0x7 << 4)
365 372
366/* FIFO formats 0x5 and above seem equivalent to 0x4 ?? */ 373/* FIFO formats 0x5 and above seem equivalent to 0x4 ?? */
367 374