33 enum MultiFunctionPinMode: uint32_t
42 enum FuelgaugeChemistry: uint32_t
44 FG_CHEM_LEAD_FLOODED = 0,
52 enum LogMode: uint32_t
54 LOG_MODE_DISABLED = 0,
65 void setMfMode(MultiFunctionPinMode mode);
66 MultiFunctionPinMode getMfMode(
void)
const;
68 void setWiFiKeepAPOn(
bool state);
69 bool getWiFiKeepAPOn(
void)
const;
71 void setEngineShuntVdropNom(uint8_t mv);
72 uint8_t getEngineShuntVdropNom(
void)
const;
74 void setEngineShuntCurrentNom(uint16_t amperes);
75 uint16_t getEngineShuntCurrentNom(
void)
const;
77 void setEngineShuntCurrentMax(uint16_t amperes);
78 uint16_t getEngineShuntCurrentMax(
void)
const;
80 void setEngineDisableV2(
bool state);
81 bool getEngineDisableV2(
void)
const;
83 void setEngineCurrentSignFlip(
bool state);
84 bool getEngineCurrentSignFlip(
void)
const;
86 void setEngineMeterVoltageSource(uint8_t source);
87 uint8_t getEngineMeterVoltageSource(
void)
const;
89 void setOcInitialState(
bool state);
90 bool getOcInitialState(
void)
const;
92 void setOcInvertOutput(
bool state);
93 bool getOcInvertOutput(
void)
const;
95 void setOcLatchRelayOn(
bool state);
96 bool getOcLatchRelayOn(
void)
const;
98 void setOcConnectFilter(uint32_t filter_ms);
99 uint32_t getOcConnectFilter(
void)
const;
101 void setOcLvdEnable(
bool state);
102 bool getOcLvdEnable(
void)
const;
104 void setOcLvdSource(uint8_t source);
105 uint8_t getOcLvdSource(
void)
const;
107 void setOcLvdDisconnectThreshold(
float threshold);
108 float getOcLvdDisconnectThreshold(
void)
const;
110 void setOcLvdConnectThreshold(
float threshold);
111 float getOcLvdConnectThreshold(
void)
const;
113 void setOcLvdDisconnectFilter(uint32_t filter_ms);
114 uint32_t getOcLvdDisconnectFilter(
void)
const;
116 void setOcHvdEnable(
bool state);
117 bool getOcHvdEnable(
void)
const;
119 void setOcHvdSource(uint8_t source);
120 uint8_t getOcHvdSource(
void)
const;
122 void setOcHvdDisconnectThreshold(
float threshold);
123 float getOcHvdDisconnectThreshold(
void)
const;
125 void setOcHvdConnectThreshold(
float threshold);
126 float getOcHvdConnectThreshold(
void)
const;
128 void setOcHvdDisconnectFilter(uint32_t filter_ms);
129 uint32_t getOcHvdDisconnectFilter(
void)
const;
131 void setOcOcdEnable(
bool state);
132 bool getOcOcdEnable(
void)
const;
134 void setOcOcdSource(uint8_t source);
135 uint8_t getOcOcdSource(
void)
const;
137 void setOcOcdTripThreshold(
float threshold);
138 float getOcOcdTripThreshold(
void)
const;
140 void setOcOcdTripFilter(uint32_t filter_ms);
141 uint32_t getOcOcdTripFilter(
void)
const;
143 void setOcLtdEnable(
bool state);
144 bool getOcLtdEnable(
void)
const;
146 void setOcLtdDisconnectThreshold(int8_t threshold);
147 int8_t getOcLtdDisconnectThreshold(
void)
const;
149 void setOcLtdConnectThreshold(int8_t threshold);
150 int8_t getOcLtdConnectThreshold(
void)
const;
152 void setOcLtdDisconnectFilter(uint32_t filter_ms);
153 uint32_t getOcLtdDisconnectFilter(
void)
const;
155 void setOcHtdEnable(
bool state);
156 bool getOcHtdEnable(
void)
const;
158 void setOcHtdDisconnectThreshold(int8_t threshold);
159 int8_t getOcHtdDisconnectThreshold(
void)
const;
161 void setOcHtdConnectThreshold(int8_t threshold);
162 int8_t getOcHtdConnectThreshold(
void)
const;
164 void setOcHtdDisconnectFilter(uint32_t filter_ms);
165 uint32_t getOcHtdDisconnectFilter(
void)
const;
167 void setOcFgdConnectEnable(
bool state);
168 bool getOcFgdConnectEnable(
void)
const;
170 void setOcFgdDisconnectEnable(
bool state);
171 bool getOcFgdDisconnectEnable(
void)
const;
173 void setOcFgdConnectThreshold(uint8_t threshold);
174 uint8_t getOcFgdConnectThreshold(
void)
const;
176 void setOcFgdDisconnectThreshold(uint8_t threshold);
177 uint8_t getOcFgdDisconnectThreshold(
void)
const;
179 void setOcAutoOnTimer(uint32_t timer_sec);
180 uint32_t getOcAutoOnTimer(
void)
const;
182 void setOcAutoOffTimer(uint32_t timer_sec);
183 uint32_t getOcAutoOffTimer(
void)
const;
185 void setOcGenControlEnable(
bool state);
186 bool getOcGenControlEnable(
void)
const;
188 void setOcGenVonEnable(
bool state);
189 bool getOcGenVonEnable(
void)
const;
191 void setOcGenVoffEnable(
bool state);
192 bool getOcGenVoffEnable(
void)
const;
194 void setOcGenSoconEnable(
bool state);
195 bool getOcGenSoconEnable(
void)
const;
197 void setOcGenSocoffEnable(
bool state);
198 bool getOcGenSocoffEnable(
void)
const;
200 void setOcGenVoltageSource(uint8_t source);
201 uint8_t getOcGenVoltageSource(
void)
const;
203 void setOcGenVonThreshold(
float threshold);
204 float getOcGenVonThreshold(
void)
const;
206 void setOcGenVoffThreshold(
float threshold);
207 float getOcGenVoffThreshold(
void)
const;
209 void setOcGenSoconThreshold(uint8_t threshold);
210 uint8_t getOcGenSoconThreshold(
void)
const;
212 void setOcGenSocoffThreshold(uint8_t threshold);
213 uint8_t getOcGenSocoffThreshold(
void)
const;
215 void setOcGenVonFilter(uint32_t filter_ms);
216 uint32_t getOcGenVonFilter(
void)
const;
218 void setOcGenTurnOffDelay(uint16_t delay_min);
219 uint16_t getOcGenTurnOffDelay(
void)
const;
221 void setOcLiFePOEnable(
bool state);
222 bool getOcLiFePOEnable(
void)
const;
224 void setOcLiFePODesignCapacity(
float capacity);
225 float getOcLiFePODesignCapacity(
void)
const;
227 void setOcLiFePOCellCount(uint8_t count);
228 uint8_t getOcLiFePOCellCount(
void)
const;
230 void setFgEnable(
bool state);
231 bool getFgEnable(
void)
const;
233 void setFgChemistry(FuelgaugeChemistry chemistry);
234 FuelgaugeChemistry getFgChemistry(
void)
const;
236 void setFgCellCount(uint8_t count);
237 uint8_t getFgCellCount(
void)
const;
239 void setFgVoltageSource(uint8_t source);
240 uint8_t getFgVoltageSource(
void)
const;
242 void setFgDesignCapacity(
float capacity);
243 float getFgDesignCapacity(
void)
const;
245 void setFgManualChargeDetectionEnable(
bool state);
246 bool getFgManualChargeDetectionEnable(
void)
const;
248 void setFgSyncVoltageThreshold(
float threshold);
249 float getFgSyncVoltageThreshold(
void)
const;
251 void setFgSyncCurrentThreshold(
float threshold);
252 float getFgSyncCurrentThreshold(
void)
const;
254 void setFgSyncFilter(uint32_t filter_ms);
255 uint32_t getFgSyncFilter(
void)
const;
257 void setLogMode(LogMode mode);
258 LogMode getLogMode(
void)
const;
261 uint8_t mRawConfig[104]
alignas(4);