CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/libraries/AP_BattMonitor/AP_BattMonitor_SMBus_NeoDesign.h
Views: 1798
1
#pragma once
2
3
#include "AP_BattMonitor_SMBus.h"
4
5
#if AP_BATTERY_SMBUS_NEODESIGN_ENABLED
6
7
class AP_BattMonitor_SMBus_NeoDesign : public AP_BattMonitor_SMBus
8
{
9
public:
10
AP_BattMonitor_SMBus_NeoDesign(AP_BattMonitor &mon,
11
AP_BattMonitor::BattMonitor_State &mon_state,
12
AP_BattMonitor_Params &params);
13
14
private:
15
16
void timer(void) override;
17
18
uint8_t _cell_count;
19
20
static const constexpr uint8_t max_cell_count = 10;
21
};
22
23
#endif // AP_BATTERY_SMBUS_NEODESIGN_ENABLED
24
25