PI3EQX12908A2 1.0.1
This library is a software library that works with the I2C mode of the PI3EQX12908 PCIe 3.0 redriver chip. This library provides a convenient and efficient way to access the I2C interfaces of the chip, allowing developers to easily integrate the redriver into their systems.
Loading...
Searching...
No Matches
PI3EQX12908A2.h
Go to the documentation of this file.
1
14#ifndef _PI3EQX12908_H
15#define _PI3EQX12908_H
16
17#include <stdint.h>
18#include <Wire.h>
19#include <String.h>
20
21#define SIGNAL_DETECT_REG 0
22#define RX_DETECT_REG 1
23#define POWER_DOWN_REG 2
24#define CONFIG_A0_REG 3
25#define CONFIG_A1_REG 4
26#define CONFIG_A2_REG 5
27#define CONFIG_A3_REG 6
28#define CONFIG_B0_REG 7
29#define CONFIG_B1_REG 8
30#define CONFIG_B2_REG 9
31#define CONFIG_B3_REG 10
32#define SIGNAL_DET_CFG_REG 11
33#define RX_DET_CFG_REG 12
34#define SIGNAL_DET_TH_REG 13
35
36#define CONFIG_A_OFFSET 3
37#define CONFIG_B_OFFSET 7
38
39#define A3_SHIFT 7
40#define A2_SHIFT 6
41#define A1_SHIFT 5
42#define A0_SHIFT 4
43#define B0_SHIFT 3
44#define B1_SHIFT 2
45#define B2_SHIFT 1
46#define B3_SHIFT 0
47
48#define EQ_SHIFT 4
49#define FG_SHIFT 2
50#define SW_SHIFT 0
51
52#define SDT_SHIFT 1
53
54#define FLAT_GAIN_M4db 0
55#define FLAT_GAIN_M2db 1
56#define FLAT_GAIN_00db 2
57#define FLAT_GAIN_P2db 3
58
59#define SWING_900mVpp 0
60#define SWING_1000mVpp 1
61
62#define SDT_OFF_30_ON_130_mVpp 0
63#define SDT_OFF_50_ON_150_mVpp 1
64#define SDT_OFF_70_ON_170_mVpp 2
65#define SDT_OFF_110_ON_210_mVpp 3
66
67#define CFG_ON 0
68#define CFG_OFF 1
69
70/**************************************************************************/
74/**************************************************************************/
76 public:
77 init(uint8_t i2c_addr);
78
79 // 0 - Signal Detect
80 uint8_t getSignalDetect();
81 uint8_t getSignalDetect_A();
82 uint8_t getSignalDetect_A(uint8_t index);
83 uint8_t getSignalDetect_B();
84 uint8_t getSignalDetect_B(uint8_t index);
85
86 // 1 - RX Detect
87 uint8_t getRxDetect();
88 uint8_t getRxDetect_A();
89 uint8_t getRxDetect_A(uint8_t index);
90 uint8_t getRxDetect_B();
91 uint8_t getRxDetect_B(uint8_t index);
92
93 // 2 - Power Down
94 uint8_t getPowerDown();
95 uint8_t getPowerDown_A();
96 uint8_t getPowerDown_A(uint8_t index);
97 uint8_t getPowerDown_B();
98 uint8_t getPowerDown_B(uint8_t index);
99 void setPowerDown(uint8_t isDown);
100 void setPowerDown_A(uint8_t isDown);
101 void setPowerDown_A(uint8_t index, uint8_t isDown);
102 void setPowerDown_B(uint8_t isDown);
103 void setPowerDown_B(uint8_t index, uint8_t isDown);
104
105 // 3 - A0 Config
106 uint8_t getConfig_A0();
107 uint8_t getEQ_A0();
108 uint8_t getFlatGain_A0();
109 uint8_t getSW_A0();
110 void setConfig_A0(uint8_t config);
111 void setEQ_A0(uint8_t EQ);
112 void setFlatGain_A0(uint8_t flat_gain);
113 void setSW_A0(uint8_t swing);
114
115 // 4 - A1 Config
116 uint8_t getConfig_A1();
117 uint8_t getEQ_A1();
118 uint8_t getFlatGain_A1();
119 uint8_t getSW_A1();
120 void setConfig_A1(uint8_t config);
121 void setEQ_A1(uint8_t EQ);
122 void setFlatGain_A1(uint8_t flat_gain);
123 void setSW_A1(uint8_t swing);
124
125 // 5 - A2 Config
126 uint8_t getConfig_A2();
127 uint8_t getEQ_A2();
128 uint8_t getFlatGain_A2();
129 uint8_t getSW_A2();
130 void setConfig_A2(uint8_t config);
131 void setEQ_A2(uint8_t EQ);
132 void setFlatGain_A2(uint8_t flat_gain);
133 void setSW_A2(uint8_t swing);
134
135 // 6 - A3 Config
136 uint8_t getConfig_A3();
137 uint8_t getEQ_A3();
138 uint8_t getFlatGain_A3();
139 uint8_t getSW_A3();
140 void setConfig_A3(uint8_t config);
141 void setEQ_A3(uint8_t EQ);
142 void setFlatGain_A3(uint8_t flat_gain);
143 void setSW_A3(uint8_t swing);
144
145 // 7 - B0 Config
146 uint8_t getConfig_B0();
147 uint8_t getEQ_B0();
148 uint8_t getFlatGain_B0();
149 uint8_t getSW_B0();
150 void setConfig_B0(uint8_t config);
151 void setEQ_B0(uint8_t EQ);
152 void setFlatGain_B0(uint8_t flat_gain);
153 void setSW_B0(uint8_t swing);
154
155 // 8 - B1 Config
156 uint8_t getConfig_B1();
157 uint8_t getEQ_B1();
158 uint8_t getFlatGain_B1();
159 uint8_t getSW_B1();
160 void setConfig_B1(uint8_t config);
161 void setEQ_B1(uint8_t EQ);
162 void setFlatGain_B1(uint8_t flat_gain);
163 void setSW_B1(uint8_t swing);
164
165 // 9 - B2 Config
166 uint8_t getConfig_B2();
167 uint8_t getEQ_B2();
168 uint8_t getFlatGain_B2();
169 uint8_t getSW_B2();
170 void setConfig_B2(uint8_t config);
171 void setEQ_B2(uint8_t EQ);
172 void setFlatGain_B2(uint8_t flat_gain);
173 void setSW_B2(uint8_t swing);
174
175 // 10 - B3 Config
176 uint8_t getConfig_B3();
177 uint8_t getEQ_B3();
178 uint8_t getFlatGain_B3();
179 uint8_t getSW_B3();
180 void setConfig_B3(uint8_t config);
181 void setEQ_B3(uint8_t EQ);
182 void setFlatGain_B3(uint8_t flat_gain);
183 void setSW_B3(uint8_t swing);
184
185 // 11 - Signal Detect Config
186 uint8_t getSignalDetectConfig();
187 uint8_t getSignalDetectConfig_A();
188 uint8_t getSignalDetectConfig_A(uint8_t index);
189 uint8_t getSignalDetectConfig_B();
190 uint8_t getSignalDetectConfig_B(uint8_t index);
191 void setSignalDetectConfig(uint8_t isDown);
192 void setSignalDetectConfig_A(uint8_t isDown);
193 void setSignalDetectConfig_A(uint8_t index, uint8_t isDown);
194 void setSignalDetectConfig_B(uint8_t isDown);
195 void setSignalDetectConfig_B(uint8_t index, uint8_t isDown);
196
197 // 12 - RX Detect Config
198 uint8_t getRxDetectConfig();
199 uint8_t getRxDetectConfig_A();
200 uint8_t getRxDetectConfig_A(uint8_t index);
201 uint8_t getRxDetectConfig_B();
202 uint8_t getRxDetectConfig_B(uint8_t index);
203 void setRxDetectConfig(uint8_t isDown);
204 void setRxDetectConfig_A(uint8_t isDown);
205 void setRxDetectConfig_A(uint8_t index, uint8_t isDown);
206 void setRxDetectConfig_B(uint8_t isDown);
207 void setRxDetectConfig_B(uint8_t index, uint8_t isDown);
208
209 // 13 - Signal Detect Threshold
210 uint8_t getSDTConfig();
211 uint8_t setSDTConfig(uint8_t thresh);
212
213 // Others
214 void setConfig_A(uint8_t config);
215 void setConfig_A(uint8_t index, uint8_t config);
216 void setConfig_B(uint8_t config);
217 void setConfig_B(uint8_t index, uint8_t config);
218 void setConfig(uint8_t config);
219 void setEQ_A(uint8_t EQ);
220 void setEQ_B(uint8_t EQ);
221 void setEQ(uint8_t EQ);
222 void setFG_A(uint8_t flat_gain);
223 void setFG_B(uint8_t flat_gain);
224 void setFG(uint8_t flat_gain);
225 void setSW_A(uint8_t swing);
226 void setSW_B(uint8_t swing);
227 void setSW(uint8_t swing);
228 void print_all();
229 void dump_all(uint8_t* data);
230
231 private:
232 uint8_t _I2C_ADDR;
233 String _REGS[16];
234
235 uint8_t _read_reg(uint8_t mem_addr);
236 void _write_reg(uint8_t mem_addr, uint8_t value);
237 void _burst_read(uint8_t mem_addr, uint8_t* data, uint8_t len);
238 void _burst_write(uint8_t mem_addr, uint8_t* data, uint8_t len);
239};
240
241#endif
Class that stores state and functions for interacting with PI3EQX12908A2.
Definition PI3EQX12908A2.h:75
void setEQ_B0(uint8_t EQ)
Sets the equalizer value of the 0 index B channel. This function sets the equalizer value of B0.
Definition PI3EQX12908A2.cpp:869
void setFlatGain_A1(uint8_t flat_gain)
Sets the flat gain value of the 1 index A channel. This function sets the flat gain value of A1.
Definition PI3EQX12908A2.cpp:543
uint8_t getConfig_A2()
Gets the configuration of the 2 index A channel. This function reads the configuration of the 2 index...
Definition PI3EQX12908A2.cpp:575
void setSignalDetectConfig_A(uint8_t isDown)
Sets the signal detect configuration of A channel. This function change the signal detect configurati...
Definition PI3EQX12908A2.cpp:1341
uint8_t getSW_B3()
Gets the swing configuration of the 3 index B channel. This function reads the swing value of the 3 i...
Definition PI3EQX12908A2.cpp:1189
void setRxDetectConfig_A(uint8_t isDown)
Sets the RX detect configuration of A channel. This function change the RX detect configuration of ch...
Definition PI3EQX12908A2.cpp:1494
void setFlatGain_A2(uint8_t flat_gain)
Sets the flat gain value of the 2 index A channel. This function sets the flat gain value of A2.
Definition PI3EQX12908A2.cpp:658
void print_all()
Prints all of the registers This function prints all of the registers of the chip over the default UA...
Definition PI3EQX12908A2.cpp:1871
void setSignalDetectConfig_B(uint8_t isDown)
Sets the signal detect configuration of B channel. This function change the signal detect configurati...
Definition PI3EQX12908A2.cpp:1380
uint8_t getFlatGain_B0()
Gets the flat gain configuration of the 0 index B channel. This function reads the flat gain value of...
Definition PI3EQX12908A2.cpp:831
void setSW_A2(uint8_t swing)
Sets the swing value of the 2 index A channel. This function sets the swing value of A2.
Definition PI3EQX12908A2.cpp:675
void setConfig(uint8_t config)
Sets the configuration of all channels This function sets the configuration of all channels....
Definition PI3EQX12908A2.cpp:1667
uint8_t getSW_A2()
Gets the swing configuration of the 2 index A channel. This function reads the swing value of the 2 i...
Definition PI3EQX12908A2.cpp:614
void setFlatGain_A3(uint8_t flat_gain)
Sets the flat gain value of the 3 index A channel. This function sets the flat gain value of A3.
Definition PI3EQX12908A2.cpp:773
uint8_t getPowerDown_B()
Gets the power down of B channel This function reads the power down register and returns the channel ...
Definition PI3EQX12908A2.cpp:228
void setEQ_B3(uint8_t EQ)
Sets the equalizer value of the 3 index B channel. This function sets the equalizer value of B3.
Definition PI3EQX12908A2.cpp:1214
void setEQ(uint8_t EQ)
Sets the equalizer of the all channels This function sets the equalizer settings of the all channels.
Definition PI3EQX12908A2.cpp:1716
uint8_t getSW_B0()
Gets the swing configuration of the 0 index B channel. This function reads the swing value of the 0 i...
Definition PI3EQX12908A2.cpp:844
uint8_t getEQ_B3()
Gets the equalizer configuration of the 3 index B channel. This function reads the equalizer value of...
Definition PI3EQX12908A2.cpp:1161
uint8_t getSignalDetectConfig()
Gets the signal detect configuration register This function reads the signal detect configuration reg...
Definition PI3EQX12908A2.cpp:1265
void setEQ_A3(uint8_t EQ)
Sets the equalizer value of the 3 index A channel. This function sets the equalizer value of A3.
Definition PI3EQX12908A2.cpp:754
uint8_t getConfig_A3()
Gets the configuration of the 3 index A channel. This function reads the configuration of the 3 index...
Definition PI3EQX12908A2.cpp:690
uint8_t getEQ_A3()
Gets the equalizer configuration of the 3 index A channel. This function reads the equalizer value of...
Definition PI3EQX12908A2.cpp:701
void setFG_B(uint8_t flat_gain)
Sets the flat gain of the channel B This function sets the flat gain setting of the channel B.
Definition PI3EQX12908A2.cpp:1764
uint8_t getFlatGain_B2()
Gets the flat gain configuration of the 2 index B channel. This function reads the flat gain value of...
Definition PI3EQX12908A2.cpp:1061
uint8_t getRxDetect_A()
Gets the RX detect of A channel This function reads the RX detect register and returns the channel A ...
Definition PI3EQX12908A2.cpp:138
void setSW(uint8_t swing)
Sets the swing value of all channels This function sets the swing value of all channels.
Definition PI3EQX12908A2.cpp:1850
uint8_t getSignalDetect_B()
Gets the signal detect of B channel This function reads the signal detect register and returns the ch...
Definition PI3EQX12908A2.cpp:100
void setConfig_B(uint8_t config)
Sets the configuration of the channel A This function sets the configuration of channel A....
Definition PI3EQX12908A2.cpp:1639
uint8_t getFlatGain_B1()
Gets the flat gain configuration of the 1 index B channel. This function reads the flat gain value of...
Definition PI3EQX12908A2.cpp:946
uint8_t getRxDetectConfig_B()
Gets the RX detect configuration of B channel This function reads the RX detect configuration registe...
Definition PI3EQX12908A2.cpp:1455
void setFlatGain_B3(uint8_t flat_gain)
Sets the flat gain value of the 3 index B channel. This function sets the flat gain value of B3.
Definition PI3EQX12908A2.cpp:1233
uint8_t getConfig_B1()
Gets the configuration of the 1 index B channel. This function reads the configuration of the 1 index...
Definition PI3EQX12908A2.cpp:920
void setEQ_A0(uint8_t EQ)
Sets the equalizer value of the 0 index A channel. This function sets the equalizer value of A0.
Definition PI3EQX12908A2.cpp:409
uint8_t getRxDetect_B()
Gets the RX detect of B channel This function reads the RX detect register and returns the channel B ...
Definition PI3EQX12908A2.cpp:164
uint8_t getFlatGain_B3()
Gets the flat gain configuration of the 3 index B channel. This function reads the flat gain value of...
Definition PI3EQX12908A2.cpp:1176
void setPowerDown_A(uint8_t isDown)
Sets the power down of A channel. This function change the power down status of channel A.
Definition PI3EQX12908A2.cpp:268
uint8_t getSDTConfig()
Gets the signal detect threshold of all channels. This function gets the signal detect threshold of a...
Definition PI3EQX12908A2.cpp:1576
void setSW_A3(uint8_t swing)
Sets the swing value of the 3 index A channel. This function sets the swing value of A3.
Definition PI3EQX12908A2.cpp:790
init(uint8_t i2c_addr)
Initialize the PI3EQX12908 object This function sets the I2C address and the register names.
Definition PI3EQX12908A2.cpp:33
uint8_t getSW_A3()
Gets the swing configuration of the 3 index A channel. This function reads the swing value of the 3 i...
Definition PI3EQX12908A2.cpp:729
uint8_t getEQ_B1()
Gets the equalizer configuration of the 1 index B channel. This function reads the equalizer value of...
Definition PI3EQX12908A2.cpp:931
uint8_t getRxDetectConfig()
Gets the RX detect configuration register This function reads the RX detect configuration register va...
Definition PI3EQX12908A2.cpp:1418
uint8_t getFlatGain_A3()
Gets the flat gain configuration of the 3 index A channel. This function reads the flat gain value of...
Definition PI3EQX12908A2.cpp:716
uint8_t getConfig_A1()
Gets the configuration of the 1 index A channel. This function reads the configuration of the 1 index...
Definition PI3EQX12908A2.cpp:460
void setConfig_A1(uint8_t config)
Sets the configuration of the 1 index A channel. This function sets the configuration register of A1....
Definition PI3EQX12908A2.cpp:512
void setFG(uint8_t flat_gain)
Sets the flat gain of all channels This function sets the flat gain setting of all channels.
Definition PI3EQX12908A2.cpp:1786
void setConfig_B1(uint8_t config)
Sets the configuration of the 1 index B channel. This function sets the configuration register of B1....
Definition PI3EQX12908A2.cpp:972
void setEQ_B2(uint8_t EQ)
Sets the equalizer value of the 2 index B channel. This function sets the equalizer value of B2.
Definition PI3EQX12908A2.cpp:1099
void setConfig_B2(uint8_t config)
Sets the configuration of the 2 index B channel. This function sets the configuration register of B2....
Definition PI3EQX12908A2.cpp:1087
void setSignalDetectConfig(uint8_t isDown)
Sets the signal detect configuration register. This function change the signal detect configuration o...
Definition PI3EQX12908A2.cpp:1328
void setSW_B2(uint8_t swing)
Sets the swing value of the 2 index B channel. This function sets the swing value of B2.
Definition PI3EQX12908A2.cpp:1135
uint8_t getSW_B2()
Gets the swing configuration of the 2 index B channel. This function reads the swing value of the 2 i...
Definition PI3EQX12908A2.cpp:1074
void setEQ_B(uint8_t EQ)
Sets the equalizer of the channel B This function sets the equalizer settings of the channel B.
Definition PI3EQX12908A2.cpp:1698
void setConfig_B3(uint8_t config)
Sets the configuration of the 3 index B channel. This function sets the configuration register of B3....
Definition PI3EQX12908A2.cpp:1202
void setFlatGain_A0(uint8_t flat_gain)
Sets the flat gain value of the 0 index A channel. This function sets the flat gain value of A0.
Definition PI3EQX12908A2.cpp:428
uint8_t getSW_B1()
Gets the swing configuration of the 1 index B channel. This function reads the swing value of the 1 i...
Definition PI3EQX12908A2.cpp:959
uint8_t getEQ_A0()
Gets the equalizer configuration of the 0 index A channel. This function reads the equalizer value of...
Definition PI3EQX12908A2.cpp:356
uint8_t setSDTConfig(uint8_t thresh)
Sets the signal detect threshold for all channels. This function changes the signal detect threshold ...
Definition PI3EQX12908A2.cpp:1593
void setPowerDown(uint8_t isDown)
Sets the power down register. This function change the power down status of all channels.
Definition PI3EQX12908A2.cpp:255
uint8_t getEQ_A2()
Gets the equalizer configuration of the 2 index A channel. This function reads the equalizer value of...
Definition PI3EQX12908A2.cpp:586
uint8_t getPowerDown()
Gets the power down register This function reads the power down register values.
Definition PI3EQX12908A2.cpp:190
void setConfig_A3(uint8_t config)
Sets the configuration of the 3 index A channel. This function sets the configuration register of A3....
Definition PI3EQX12908A2.cpp:742
void dump_all(uint8_t *data)
Reads all of the registers This function reads all of the registers of the chip.
Definition PI3EQX12908A2.cpp:1900
uint8_t getEQ_B0()
Gets the equalizer configuration of the 0 index B channel. This function reads the equalizer value of...
Definition PI3EQX12908A2.cpp:816
void setFlatGain_B2(uint8_t flat_gain)
Sets the flat gain value of the 2 index B channel. This function sets the flat gain value of B2.
Definition PI3EQX12908A2.cpp:1118
void setFG_A(uint8_t flat_gain)
Sets the flat gain of the channel A This function sets the flat gain setting of the channel A.
Definition PI3EQX12908A2.cpp:1742
uint8_t getSignalDetectConfig_A()
Gets the signal detect configuration of A channel This function reads the signal detect configuration...
Definition PI3EQX12908A2.cpp:1277
void setSW_A1(uint8_t swing)
Sets the swing value of the 1 index A channel. This function sets the swing value of A1.
Definition PI3EQX12908A2.cpp:560
void setEQ_A1(uint8_t EQ)
Sets the equalizer value of the 1 index A channel. This function sets the equalizer value of A1.
Definition PI3EQX12908A2.cpp:524
void setSW_A0(uint8_t swing)
Sets the swing value of the 0 index A channel. This function sets the swing value of A0.
Definition PI3EQX12908A2.cpp:445
uint8_t getRxDetectConfig_A()
Gets the RX detect configuration of A channel This function reads the RX detect configuration registe...
Definition PI3EQX12908A2.cpp:1430
void setPowerDown_B(uint8_t isDown)
Sets the power down of B channel. This function change the power down status of channel B.
Definition PI3EQX12908A2.cpp:307
void setSW_B0(uint8_t swing)
Sets the swing value of the 0 index B channel. This function sets the swing value of B0.
Definition PI3EQX12908A2.cpp:905
void setConfig_A0(uint8_t config)
Sets the configuration of the 0 index A channel. This function sets the configuration register of A0....
Definition PI3EQX12908A2.cpp:397
void setConfig_B0(uint8_t config)
Sets the configuration of the 0 index B channel. This function sets the configuration register of B0....
Definition PI3EQX12908A2.cpp:857
uint8_t getFlatGain_A2()
Gets the flat gain configuration of the 2 index A channel. This function reads the flat gain value of...
Definition PI3EQX12908A2.cpp:601
uint8_t getConfig_B2()
Gets the configuration of the 2 index B channel. This function reads the configuration of the 2 index...
Definition PI3EQX12908A2.cpp:1035
void setSW_B3(uint8_t swing)
Sets the swing value of the 3 index B channel. This function sets the swing value of B3.
Definition PI3EQX12908A2.cpp:1250
uint8_t getEQ_B2()
Gets the equalizer configuration of the 2 index B channel. This function reads the equalizer value of...
Definition PI3EQX12908A2.cpp:1046
uint8_t getConfig_B0()
Gets the configuration of the 0 index B channel. This function reads the configuration of the 0 index...
Definition PI3EQX12908A2.cpp:805
void setConfig_A2(uint8_t config)
Sets the configuration of the 2 index A channel. This function sets the configuration register of A2....
Definition PI3EQX12908A2.cpp:627
uint8_t getFlatGain_A0()
Gets the flat gain configuration of the 0 index A channel. This function reads the flat gain value of...
Definition PI3EQX12908A2.cpp:371
void setRxDetectConfig(uint8_t isDown)
Sets the RX detect configuration register. This function change the RX detect configuration of all ch...
Definition PI3EQX12908A2.cpp:1481
void setFlatGain_B1(uint8_t flat_gain)
Sets the flat gain value of the 1 index B channel. This function sets the flat gain value of B1.
Definition PI3EQX12908A2.cpp:1003
void setEQ_B1(uint8_t EQ)
Sets the equalizer value of the 1 index B channel. This function sets the equalizer value of B1.
Definition PI3EQX12908A2.cpp:984
void setEQ_A(uint8_t EQ)
Sets the equalizer of the channel A This function sets the equalizer settings of the channel A.
Definition PI3EQX12908A2.cpp:1680
void setConfig_A(uint8_t config)
Sets the configuration of the channel A This function sets the configuration of channel A....
Definition PI3EQX12908A2.cpp:1611
uint8_t getSignalDetectConfig_B()
Gets the signal detect configuration of B channel This function reads the signal detect configuration...
Definition PI3EQX12908A2.cpp:1302
uint8_t getPowerDown_A()
Gets the power down of A channel This function reads the power down register and returns the channel ...
Definition PI3EQX12908A2.cpp:202
void setEQ_A2(uint8_t EQ)
Sets the equalizer value of the 2 index A channel. This function sets the equalizer value of A2.
Definition PI3EQX12908A2.cpp:639
uint8_t getConfig_B3()
Gets the configuration of the 3 index B channel. This function reads the configuration of the 3 index...
Definition PI3EQX12908A2.cpp:1150
uint8_t getSW_A1()
Gets the swing configuration of the 1 index A channel. This function reads the swing value of the 1 i...
Definition PI3EQX12908A2.cpp:499
void setSW_B1(uint8_t swing)
Sets the swing value of the 1 index B channel. This function sets the swing value of B1.
Definition PI3EQX12908A2.cpp:1020
uint8_t getFlatGain_A1()
Gets the flat gain configuration of the 1 index A channel. This function reads the flat gain value of...
Definition PI3EQX12908A2.cpp:486
uint8_t getEQ_A1()
Gets the equalizer configuration of the 1 index A channel. This function reads the equalizer value of...
Definition PI3EQX12908A2.cpp:471
uint8_t getSignalDetect_A()
Gets the signal detect of A channel This function reads the signal detect register and returns the ch...
Definition PI3EQX12908A2.cpp:74
uint8_t getRxDetect()
Gets the RX detect register This function reads the RX detect register values.
Definition PI3EQX12908A2.cpp:126
void setFlatGain_B0(uint8_t flat_gain)
Sets the flat gain value of the 0 index B channel. This function sets the flat gain value of B0.
Definition PI3EQX12908A2.cpp:888
void setSW_A(uint8_t swing)
Sets the swing value of the channel A This function sets the swing value of the channel A.
Definition PI3EQX12908A2.cpp:1810
uint8_t getConfig_A0()
Gets the configuration of the 0 index A channel. This function reads the configuration of the 0 index...
Definition PI3EQX12908A2.cpp:345
void setSW_B(uint8_t swing)
Sets the swing value of the channel B This function sets the swing value of the channel B.
Definition PI3EQX12908A2.cpp:1830
uint8_t getSignalDetect()
Gets the signal detect register This function reads the signal detect register values.
Definition PI3EQX12908A2.cpp:62
void setRxDetectConfig_B(uint8_t isDown)
Sets the RX detect configuration of B channel. This function change the RX detect configuration of ch...
Definition PI3EQX12908A2.cpp:1533
uint8_t getSW_A0()
Gets the swing configuration of the 0 index A channel. This function reads the swing value of the 0 i...
Definition PI3EQX12908A2.cpp:384