APM:Libraries
Classes | Macros
AP_BattMonitor_SMBus.h File Reference
#include <AP_Common/AP_Common.h>
#include <AP_Param/AP_Param.h>
#include <AP_Math/AP_Math.h>
#include "AP_BattMonitor_Backend.h"
#include <utility>
#include "AP_BattMonitor_SMBus_Solo.h"
#include "AP_BattMonitor_SMBus_Maxell.h"
Include dependency graph for AP_BattMonitor_SMBus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AP_BattMonitor_SMBus
 

Macros

#define AP_BATTMONITOR_SMBUS_BUS_INTERNAL   0
 
#define AP_BATTMONITOR_SMBUS_BUS_EXTERNAL   1
 
#define AP_BATTMONITOR_SMBUS_I2C_ADDR   0x0B
 
#define AP_BATTMONITOR_SMBUS_TIMEOUT_MICROS   5000000
 

Macro Definition Documentation

◆ AP_BATTMONITOR_SMBUS_BUS_EXTERNAL

#define AP_BATTMONITOR_SMBUS_BUS_EXTERNAL   1

Definition at line 10 of file AP_BattMonitor_SMBus.h.

Referenced by AP_BattMonitor::init().

◆ AP_BATTMONITOR_SMBUS_BUS_INTERNAL

#define AP_BATTMONITOR_SMBUS_BUS_INTERNAL   0

Definition at line 9 of file AP_BattMonitor_SMBus.h.

Referenced by AP_BattMonitor::init().

◆ AP_BATTMONITOR_SMBUS_I2C_ADDR

#define AP_BATTMONITOR_SMBUS_I2C_ADDR   0x0B

◆ AP_BATTMONITOR_SMBUS_TIMEOUT_MICROS

#define AP_BATTMONITOR_SMBUS_TIMEOUT_MICROS   5000000