summaryrefslogtreecommitdiff
path: root/firmware/export/as3514.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-22 00:28:03 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-22 00:28:03 +0000
commit172fc967b07f59e4928db9ca331f2f7a3a383c04 (patch)
treec87f3d76efae7b84f0061336ed555d1e5a1f38c8 /firmware/export/as3514.h
parent2e004fd4047a03e0e57bdb02a67a85a729a3caaa (diff)
downloadrockbox-172fc967b07f59e4928db9ca331f2f7a3a383c04.tar.gz
rockbox-172fc967b07f59e4928db9ca331f2f7a3a383c04.zip
as3525v2: RTC alarm
A specific poweroff function needs to be used for wake-up to work Disable RTC in bootloaders for consistency with other Sansas git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26243 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/as3514.h')
-rw-r--r--firmware/export/as3514.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h
index e9eda62ee3..31253724a7 100644
--- a/firmware/export/as3514.h
+++ b/firmware/export/as3514.h
@@ -96,6 +96,10 @@ extern void audiohw_set_lineout_vol(int vol_l, int vol_r);
96#define AS3514_SUPERVISOR 0x24 96#define AS3514_SUPERVISOR 0x24
97#endif 97#endif
98 98
99#ifdef HAVE_AS3543
100#define AS3543_WAKEUP 0x22
101#endif
102
99/* AS3543 has 2 IRQ_ENRD registers at 0x23 and 0x24, but we don't use them 103/* AS3543 has 2 IRQ_ENRD registers at 0x23 and 0x24, but we don't use them
100 * We call the real IRQ_ENRD2 register, IRQ_ENRD0, to stay compatible with 104 * We call the real IRQ_ENRD2 register, IRQ_ENRD0, to stay compatible with
101 * as3514, because the bits we use are the same 105 * as3514, because the bits we use are the same