diff options
author | Robert Keevil <rkeevil+rockbox@gmail.com> | 2009-07-17 20:40:40 +0000 |
---|---|---|
committer | Robert Keevil <rkeevil+rockbox@gmail.com> | 2009-07-17 20:40:40 +0000 |
commit | a0d630f3deeac93656e4f38b3bab6069b8817238 (patch) | |
tree | 66b5aa817976ce097ced823065731382216e1946 /firmware/export/pp6100.h | |
parent | f2f9031f4f825ccd6c7429b45e63e7ece3b195af (diff) |
Add information gleaned from disassembling the main firmware image. Detect lcd type in use. Still no actual output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21929 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pp6100.h')
-rw-r--r-- | firmware/export/pp6100.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/firmware/export/pp6100.h b/firmware/export/pp6100.h index 0894affdd2..33f00b305c 100644 --- a/firmware/export/pp6100.h +++ b/firmware/export/pp6100.h @@ -28,4 +28,15 @@ #undef DRAM_START #define DRAM_START 0x10f00000 +#define GPIOM_ENABLE (*(volatile unsigned long *)(0x6000d180)) +#define GPIOM_OUTPUT_EN (*(volatile unsigned long *)(0x6000d190)) +#define GPIOM_OUTPUT_VAL (*(volatile unsigned long *)(0x6000d1a0)) +#define GPIOM_INPUT_VAL (*(volatile unsigned long *)(0x6000d1b0)) +#define GPIOM_INT_STAT (*(volatile unsigned long *)(0x6000d1c0)) +#define GPIOM_INT_EN (*(volatile unsigned long *)(0x6000d1d0)) +#define GPIOM_INT_LEV (*(volatile unsigned long *)(0x6000d1e0)) +#define GPIOM_INT_CLR (*(volatile unsigned long *)(0x6000d1f0)) + +#define GPIOM 12 + #endif |