APM:Libraries
Macros | Variables
AP_BattMonitor_SMBus_Maxell.cpp File Reference
#include <AP_HAL/AP_HAL.h>
#include <AP_Common/AP_Common.h>
#include <AP_Math/AP_Math.h>
#include "AP_BattMonitor.h"
#include "AP_BattMonitor_SMBus_Maxell.h"
#include <utility>
Include dependency graph for AP_BattMonitor_SMBus_Maxell.cpp:

Go to the source code of this file.

Macros

#define BATTMONITOR_SMBUS_MAXELL_NUM_CELLS   6
 
#define SMBUS_READ_BLOCK_MAXIMUM_TRANSFER   0x20
 

Variables

uint8_t maxell_cell_ids []
 

Macro Definition Documentation

◆ BATTMONITOR_SMBUS_MAXELL_NUM_CELLS

#define BATTMONITOR_SMBUS_MAXELL_NUM_CELLS   6

Definition at line 8 of file AP_BattMonitor_SMBus_Maxell.cpp.

Referenced by AP_BattMonitor_SMBus_Maxell::timer().

◆ SMBUS_READ_BLOCK_MAXIMUM_TRANSFER

#define SMBUS_READ_BLOCK_MAXIMUM_TRANSFER   0x20

Variable Documentation

◆ maxell_cell_ids

uint8_t maxell_cell_ids[]
Initial value:
= { 0x3f,
0x3e,
0x3d,
0x3c,
0x3b,
0x3a}

Definition at line 9 of file AP_BattMonitor_SMBus_Maxell.cpp.

Referenced by AP_BattMonitor_SMBus_Maxell::timer().