summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/wm8758.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/export/wm8758.h b/firmware/export/wm8758.h
index 13eccb9763..5630a93b1b 100644
--- a/firmware/export/wm8758.h
+++ b/firmware/export/wm8758.h
@@ -38,6 +38,8 @@ extern void wmcodec_disable_recording(void);
38extern void wmcodec_set_recvol(int left, int right, int type); 38extern void wmcodec_set_recvol(int left, int right, int type);
39extern void wmcodec_set_monitor(int enable); 39extern void wmcodec_set_monitor(int enable);
40 40
41extern void wmcodec_set_equalizer_band(int band, int freq, int bw, int gain);
42
41#define RESET 0x00 43#define RESET 0x00
42#define PWRMGMT1 0x01 44#define PWRMGMT1 0x01
43#define PWRMGMT2 0x02 45#define PWRMGMT2 0x02
@@ -60,6 +62,12 @@ extern void wmcodec_set_monitor(int enable);
60#define PLLK2 0x26 62#define PLLK2 0x26
61#define PLLK3 0x27 63#define PLLK3 0x27
62 64
65#define EQ0 0x12
66#define EQ1 0x13
67#define EQ2 0x14
68#define EQ3 0x15
69#define EQ4 0x16
70
63/* Register settings for the supported samplerates: */ 71/* Register settings for the supported samplerates: */
64#define WM8758_8000HZ 0x4d 72#define WM8758_8000HZ 0x4d
65#define WM8758_12000HZ 0x61 73#define WM8758_12000HZ 0x61