summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-02-12 17:18:47 +0000
committerDave Chapman <dave@dchapman.com>2006-02-12 17:18:47 +0000
commit6ffd3cfca4d350457ba4e0591e2731f104c35082 (patch)
tree458c3ec91412f716d8fab44db18b88ccb113368c /firmware/export
parent4be839e9e49775d43096de499bb552ad22259c05 (diff)
Some cosmetic cleaning of the wm8975 audio driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8667 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/wm8975.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/firmware/export/wm8975.h b/firmware/export/wm8975.h
index c2dcee2a2c..1d63159748 100644
--- a/firmware/export/wm8975.h
+++ b/firmware/export/wm8975.h
@@ -37,6 +37,26 @@ extern void wm8975_disable_recording(void);
extern void wm8975_set_recvol(int left, int right, int type);
extern void wm8975_set_monitor(int enable);
+/* Register addresses */
+#define LOUT1VOL 0x02
+#define ROUT1VOL 0x03
+#define DACCTRL 0x05
+#define AINTFCE 0x07
+#define BASSCTRL 0x0c
+#define TREBCTRL 0x0d
+#define RESET 0x0f
+#define PWRMGMT1 0x19
+#define PWRMGMT2 0x1a
+#define LOUTMIX1 0x22
+#define LOUTMIX2 0x23
+#define ROUTMIX1 0x24
+#define ROUTMIX2 0x25
+#define MOUTMIX1 0x26
+#define MOUTMIX2 0x27
+#define LOUT2VOL 0x28
+#define ROUT2VOL 0x29
+
+
/* Register settings for the supported samplerates: */
#define WM8975_8000HZ 0x4d
#define WM8975_12000HZ 0x61