summaryrefslogtreecommitdiff
path: root/firmware/export/tlv320.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/tlv320.h')
-rw-r--r--firmware/export/tlv320.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/tlv320.h b/firmware/export/tlv320.h
index 45ebfee569..dfcbec4373 100644
--- a/firmware/export/tlv320.h
+++ b/firmware/export/tlv320.h
@@ -53,7 +53,7 @@ extern void tlv320_set_monitor(bool enable);
53/* REG_LHV: Left Channel Headphone Volume Control */ 53/* REG_LHV: Left Channel Headphone Volume Control */
54#define REG_LHV 0x2 54#define REG_LHV 0x2
55#define LHV_LRS (1 << 8) /* simultaneous volume/mute update */ 55#define LHV_LRS (1 << 8) /* simultaneous volume/mute update */
56#define LHV_LZC (1 << 7) /* Left-channel zero-cross detect */ 56#define LHV_LZC (1 << 7) /* Left-channel zero-cross detect */
57#define LHV_LHV(x) ((x) & 0x7f)/* Left headphone volume control */ 57#define LHV_LHV(x) ((x) & 0x7f)/* Left headphone volume control */
58 58
59/* REG_RHV: Right Channel Headphone Volume Control */ 59/* REG_RHV: Right Channel Headphone Volume Control */
@@ -80,7 +80,7 @@ extern void tlv320_set_monitor(bool enable);
80 80
81/* REG_PC: Power Down Control */ 81/* REG_PC: Power Down Control */
82#define REG_PC 0x6 82#define REG_PC 0x6
83#define PC_ON (1 << 7) /* Device power */ 83#define PC_OFF (1 << 7) /* Device power */
84#define PC_CLK (1 << 6) /* Clock */ 84#define PC_CLK (1 << 6) /* Clock */
85#define PC_OSC (1 << 5) /* Oscillator */ 85#define PC_OSC (1 << 5) /* Oscillator */
86#define PC_OUT (1 << 4) /* Outputs */ 86#define PC_OUT (1 << 4) /* Outputs */