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 enum TimeZone: uint32_t
67 TZ_AMERICA_ATLANTIC = 0,
68 TZ_AMERICA_EASTERN = 1,
69 TZ_AMERICA_CENTRAL = 2,
70 TZ_AMERICA_MOUNTAIN = 3,
71 TZ_AMERICA_PACIFIC_NO_DST = 4,
72 TZ_AMERICA_PACIFIC = 5,
73 TZ_AMERICA_ALASKA = 6,
74 TZ_AMERICA_HAWAII = 7,
76 TZ_AMERICA_CHAMORO = 9,
77 TZ_EUROPE_WESTERN = 10,
78 TZ_EUROPE_CENTRAL = 11,
79 TZ_EUROPE_EASTERN = 12,
103 void setMfMode(MultiFunctionPinMode mode);
104 MultiFunctionPinMode getMfMode(
void)
const;
106 void setWiFiKeepAPOn(
bool state);
107 bool getWiFiKeepAPOn(
void)
const;
109 void setWiFiDisablePowerSaving(
bool state);
110 bool getWiFiDisablePowerSaving(
void)
const;
112 void setWiFiWatchdogEnable(
bool state);
113 bool getWiFiWatchdogEnable(
void)
const;
115 void setNoInternetEnable(
bool state);
116 bool getNoInternetEnable(
void)
const;
118 void setNtpEnable(
bool state);
119 bool getNtpEnable(
void)
const;
121 void setTimeZone(TimeZone tz);
122 TimeZone getTimeZone(
void)
const;
124 void setEthKeepLinkLedOn(
bool state);
125 bool getEthKeepLinkLedOn(
void)
const;
127 void setEngineShuntVdropNom(uint8_t mv);
128 uint8_t getEngineShuntVdropNom(
void)
const;
130 void setEngineShuntCurrentNom(uint16_t amperes);
131 uint16_t getEngineShuntCurrentNom(
void)
const;
133 void setEngineShuntCurrentMax(uint16_t amperes);
134 uint16_t getEngineShuntCurrentMax(
void)
const;
136 void setEngineDisableV2(
bool state);
137 bool getEngineDisableV2(
void)
const;
139 void setEngineCurrentSignFlip(
bool state);
140 bool getEngineCurrentSignFlip(
void)
const;
142 void setEngineMeterVoltageSource(uint8_t source);
143 uint8_t getEngineMeterVoltageSource(
void)
const;
145 void setOcInitialState(
bool state);
146 bool getOcInitialState(
void)
const;
148 void setOcInvertOutput(
bool state);
149 bool getOcInvertOutput(
void)
const;
151 void setOcLatchRelayOn(
bool state);
152 bool getOcLatchRelayOn(
void)
const;
154 void setOcConnectFilter(uint32_t filter_ms);
155 uint32_t getOcConnectFilter(
void)
const;
157 void setOcLvdEnable(
bool state);
158 bool getOcLvdEnable(
void)
const;
160 void setOcLvdSource(uint8_t source);
161 uint8_t getOcLvdSource(
void)
const;
163 void setOcLvdDisconnectThreshold(
float threshold);
164 float getOcLvdDisconnectThreshold(
void)
const;
166 void setOcLvdConnectThreshold(
float threshold);
167 float getOcLvdConnectThreshold(
void)
const;
169 void setOcLvdDisconnectFilter(uint32_t filter_ms);
170 uint32_t getOcLvdDisconnectFilter(
void)
const;
172 void setOcHvdEnable(
bool state);
173 bool getOcHvdEnable(
void)
const;
175 void setOcHvdSource(uint8_t source);
176 uint8_t getOcHvdSource(
void)
const;
178 void setOcHvdDisconnectThreshold(
float threshold);
179 float getOcHvdDisconnectThreshold(
void)
const;
181 void setOcHvdConnectThreshold(
float threshold);
182 float getOcHvdConnectThreshold(
void)
const;
184 void setOcHvdDisconnectFilter(uint32_t filter_ms);
185 uint32_t getOcHvdDisconnectFilter(
void)
const;
187 void setOcOcdEnable(
bool state);
188 bool getOcOcdEnable(
void)
const;
190 void setOcOcdSource(uint8_t source);
191 uint8_t getOcOcdSource(
void)
const;
193 void setOcOcdTripThreshold(
float threshold);
194 float getOcOcdTripThreshold(
void)
const;
196 void setOcOcdTripFilter(uint32_t filter_ms);
197 uint32_t getOcOcdTripFilter(
void)
const;
199 void setOcLtdEnable(
bool state);
200 bool getOcLtdEnable(
void)
const;
202 void setOcLtdDisconnectThreshold(int8_t threshold);
203 int8_t getOcLtdDisconnectThreshold(
void)
const;
205 void setOcLtdConnectThreshold(int8_t threshold);
206 int8_t getOcLtdConnectThreshold(
void)
const;
208 void setOcLtdDisconnectFilter(uint32_t filter_ms);
209 uint32_t getOcLtdDisconnectFilter(
void)
const;
211 void setOcHtdEnable(
bool state);
212 bool getOcHtdEnable(
void)
const;
214 void setOcHtdDisconnectThreshold(int8_t threshold);
215 int8_t getOcHtdDisconnectThreshold(
void)
const;
217 void setOcHtdConnectThreshold(int8_t threshold);
218 int8_t getOcHtdConnectThreshold(
void)
const;
220 void setOcHtdDisconnectFilter(uint32_t filter_ms);
221 uint32_t getOcHtdDisconnectFilter(
void)
const;
223 void setOcFgdConnectEnable(
bool state);
224 bool getOcFgdConnectEnable(
void)
const;
226 void setOcFgdDisconnectEnable(
bool state);
227 bool getOcFgdDisconnectEnable(
void)
const;
229 void setOcFgdConnectThreshold(uint8_t threshold);
230 uint8_t getOcFgdConnectThreshold(
void)
const;
232 void setOcFgdDisconnectThreshold(uint8_t threshold);
233 uint8_t getOcFgdDisconnectThreshold(
void)
const;
235 void setOcAutoOnTimer(uint32_t timer_sec);
236 uint32_t getOcAutoOnTimer(
void)
const;
238 void setOcAutoOffTimer(uint32_t timer_sec);
239 uint32_t getOcAutoOffTimer(
void)
const;
241 void setOcGenControlEnable(
bool state);
242 bool getOcGenControlEnable(
void)
const;
244 void setOcGenVonEnable(
bool state);
245 bool getOcGenVonEnable(
void)
const;
247 void setOcGenVoffEnable(
bool state);
248 bool getOcGenVoffEnable(
void)
const;
250 void setOcGenSoconEnable(
bool state);
251 bool getOcGenSoconEnable(
void)
const;
253 void setOcGenSocoffEnable(
bool state);
254 bool getOcGenSocoffEnable(
void)
const;
256 void setOcGenVoltageSource(uint8_t source);
257 uint8_t getOcGenVoltageSource(
void)
const;
259 void setOcGenVonThreshold(
float threshold);
260 float getOcGenVonThreshold(
void)
const;
262 void setOcGenVoffThreshold(
float threshold);
263 float getOcGenVoffThreshold(
void)
const;
265 void setOcGenSoconThreshold(uint8_t threshold);
266 uint8_t getOcGenSoconThreshold(
void)
const;
268 void setOcGenSocoffThreshold(uint8_t threshold);
269 uint8_t getOcGenSocoffThreshold(
void)
const;
271 void setOcGenVonFilter(uint32_t filter_ms);
272 uint32_t getOcGenVonFilter(
void)
const;
274 void setOcGenTurnOffDelay(uint16_t delay_min);
275 uint16_t getOcGenTurnOffDelay(
void)
const;
277 void setOcLiFePOEnable(
bool state);
278 bool getOcLiFePOEnable(
void)
const;
280 void setOcLiFePODesignCapacity(
float capacity);
281 float getOcLiFePODesignCapacity(
void)
const;
283 void setOcLiFePOCellCount(uint8_t count);
284 uint8_t getOcLiFePOCellCount(
void)
const;
286 void setFgEnable(
bool state);
287 bool getFgEnable(
void)
const;
289 void setFgChemistry(FuelgaugeChemistry chemistry);
290 FuelgaugeChemistry getFgChemistry(
void)
const;
292 void setFgCellCount(uint8_t count);
293 uint8_t getFgCellCount(
void)
const;
295 void setFgVoltageSource(uint8_t source);
296 uint8_t getFgVoltageSource(
void)
const;
298 void setFgDesignCapacity(
float capacity);
299 float getFgDesignCapacity(
void)
const;
301 void setFgManualChargeDetectionEnable(
bool state);
302 bool getFgManualChargeDetectionEnable(
void)
const;
304 void setFgSyncVoltageThreshold(
float threshold);
305 float getFgSyncVoltageThreshold(
void)
const;
307 void setFgSyncCurrentThreshold(
float threshold);
308 float getFgSyncCurrentThreshold(
void)
const;
310 void setFgSyncFilter(uint32_t filter_ms);
311 uint32_t getFgSyncFilter(
void)
const;
313 void setLogMode(LogMode mode);
314 LogMode getLogMode(
void)
const;
317 uint8_t mRawConfig[104]
alignas(4);