summaryrefslogtreecommitdiff
path: root/firmware/export/wm8975.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/wm8975.h')
-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);
37extern void wm8975_set_recvol(int left, int right, int type); 37extern void wm8975_set_recvol(int left, int right, int type);
38extern void wm8975_set_monitor(int enable); 38extern void wm8975_set_monitor(int enable);
39 39
40/* Register addresses */
41#define LOUT1VOL 0x02
42#define ROUT1VOL 0x03
43#define DACCTRL 0x05
44#define AINTFCE 0x07
45#define BASSCTRL 0x0c
46#define TREBCTRL 0x0d
47#define RESET 0x0f
48#define PWRMGMT1 0x19
49#define PWRMGMT2 0x1a
50#define LOUTMIX1 0x22
51#define LOUTMIX2 0x23
52#define ROUTMIX1 0x24
53#define ROUTMIX2 0x25
54#define MOUTMIX1 0x26
55#define MOUTMIX2 0x27
56#define LOUT2VOL 0x28
57#define ROUT2VOL 0x29
58
59
40/* Register settings for the supported samplerates: */ 60/* Register settings for the supported samplerates: */
41#define WM8975_8000HZ 0x4d 61#define WM8975_8000HZ 0x4d
42#define WM8975_12000HZ 0x61 62#define WM8975_12000HZ 0x61