diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-02-05 15:12:08 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-02-05 15:12:08 +0000 |
commit | c8ea43f0957ff75664a03332c602dee241717435 (patch) | |
tree | 3edf6c21b014e8933fd88c107bdac9e4ea87486c /firmware/export/as3525.h | |
parent | 507d7bdb0e915504f8d60ee7c2ff1047a6d977c2 (diff) |
Untested attempt at a Clip+ LCD driver using SSP (PrimeCell PL022)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24523 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/as3525.h')
-rw-r--r-- | firmware/export/as3525.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/firmware/export/as3525.h b/firmware/export/as3525.h index a8903d17ef..f1e51e0fb5 100644 --- a/firmware/export/as3525.h +++ b/firmware/export/as3525.h @@ -497,6 +497,20 @@ interface */ #define I2SOUT_CLEAR (*(volatile unsigned char*)(I2SOUT_BASE+0x10)) #define I2SOUT_DATA (volatile unsigned long*)(I2SOUT_BASE+0x14) + +/* SSP registers (PrimeCell PL022) */ + +#define SSP_CR0 (*(volatile unsigned short*)(SSP_BASE+0x00)) +#define SSP_CR1 (*(volatile unsigned char*)(SSP_BASE+0x04)) +#define SSP_DATA (*(volatile unsigned short*)(SSP_BASE+0x08)) +#define SSP_SR (*(volatile unsigned char*)(SSP_BASE+0x0C)) +#define SSP_CPSR (*(volatile unsigned char*)(SSP_BASE+0x10)) +#define SSP_IMSC (*(volatile unsigned char*)(SSP_BASE+0x14)) +#define SSP_IRS (*(volatile unsigned char*)(SSP_BASE+0x18)) +#define SSP_MIS (*(volatile unsigned char*)(SSP_BASE+0x1C)) +#define SSP_ICR (*(volatile unsigned char*)(SSP_BASE+0x20)) +#define SSP_DMACR (*(volatile unsigned char*)(SSP_BASE+0x24)) + /* PCM addresses for obtaining buffers will be what DMA is using (physical) */ #define HAVE_PCM_DMA_ADDRESS |