summaryrefslogtreecommitdiffstats
path: root/firmware/export/as3525.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-11-06 14:34:37 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-11-06 14:34:37 +0000
commit94c06c7e95943bdf4ae57c6250f9352661ac4d56 (patch)
tree93c17fd3a7772b60cb3ea37f55d99e77f9a50631 /firmware/export/as3525.h
parentbaecdb632c2d6c594e0b4dc4b75256d12496ea29 (diff)
downloadrockbox-94c06c7e95943bdf4ae57c6250f9352661ac4d56.tar.gz
rockbox-94c06c7e95943bdf4ae57c6250f9352661ac4d56.tar.bz2
rockbox-94c06c7e95943bdf4ae57c6250f9352661ac4d56.zip
AS3525: implement tick_start() with TIMER2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19027 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/as3525.h')
-rw-r--r--firmware/export/as3525.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/export/as3525.h b/firmware/export/as3525.h
index 8d81997b94..245f4ae963 100644
--- a/firmware/export/as3525.h
+++ b/firmware/export/as3525.h
@@ -283,6 +283,14 @@ interface */
#define TIMER1_MIS (*(volatile unsigned long*)(TIMER_BASE + 0x14)) /* 1 bit width */
#define TIMER1_BGLOAD (*(volatile unsigned long*)(TIMER_BASE + 0x18)) /* 32-bit width */
+#define TIMER2_LOAD (*(volatile unsigned long*)(TIMER_BASE + 0x20)) /* 32-bit width */
+#define TIMER2_VALUE (*(volatile unsigned long*)(TIMER_BASE + 0x24)) /* 32 bit width */
+#define TIMER2_CONTROL (*(volatile unsigned long*)(TIMER_BASE + 0x28)) /* 8 bit width */
+#define TIMER2_INTCLR (*(volatile unsigned long*)(TIMER_BASE + 0x2C)) /* clears ir by write access */
+#define TIMER2_RIS (*(volatile unsigned long*)(TIMER_BASE + 0x30)) /* 1 bit width */
+#define TIMER2_MIS (*(volatile unsigned long*)(TIMER_BASE + 0x34)) /* 1 bit width */
+#define TIMER2_BGLOAD (*(volatile unsigned long*)(TIMER_BASE + 0x38)) /* 32-bit width */
+
/**
* Counter/Timer control register bits
**/