#include "IMI2C.h"
Go to the source code of this file.
#define ACC_CHARGE_LSB 0x03 |
#define ACC_CHARGE_MSB 0x02 |
#define ALERT_MODE 0x04 |
#define AUTOMATIC_MODE 0xC0 |
#define CHARGE_COMPLETE_MODE 0x02 |
#define CHARGE_THRESH_HIGH_LSB 0x05 |
#define CHARGE_THRESH_HIGH_MSB 0x04 |
#define CHARGE_THRESH_LOW_LSB 0x07 |
#define CHARGE_THRESH_LOW_MSB 0x06 |
#define CURRENT_LSB 0x0F |
#define CURRENT_MSB 0x0E |
#define CURRENT_THRESH_HIGH_LSB 0x11 |
#define CURRENT_THRESH_HIGH_MSB 0x10 |
#define CURRENT_THRESH_LOW_LSB 0x13 |
#define CURRENT_THRESH_LOW_MSB 0x12 |
#define DISABLE_ALCC_PIN 0x00 |
#define LTC2943_ALERT_RESPONSE_ADDRESS 0x0C |
#define LTC2943_HARDWARE_ADDRESS 0x64 |
#define MANUAL_MODE 0x40 |
#define PRESCALER_1 0x00 |
#define PRESCALER_1024 0x28 |
#define PRESCALER_16 0x10 |
#define PRESCALER_256 0x20 |
#define PRESCALER_4 0x08 |
#define PRESCALER_4096 0x30 |
#define PRESCALER_4096_2 0x31 |
#define PRESCALER_64 0x18 |
#define SHUTDOWN_MODE 0x01 |
#define SLEEP_MODE 0x00 |
#define TEMPERATURE_LSB 0x15 |
#define TEMPERATURE_MSB 0x14 |
#define TEMPERATURE_THRESH_HIGH 0x16 |
#define TEMPERATURE_THRESH_LOW 0x17 |
#define VOLTAGE_LSB 0x09 |
#define VOLTAGE_MSB 0x08 |
#define VOLTAGE_THRESH_HIGH_LSB 0x0B |
#define VOLTAGE_THRESH_HIGH_MSB 0x0A |
#define VOLTAGE_THRESH_LOW_LSB 0x0D |
#define VOLTAGE_THRESH_LOW_MSB 0x0C |
const float CHARGE_LEAST = 0.00034 |
const float CURRENT_LEAST = 0.0000293 |
const float FULLSCALE_CURRENT = 0.06 |
const float FULLSCALE_TEMPERATURE = 510 |
const float FULLSCALE_VOLTAGE = 23.6 |
const float TEMPERATURE_LEAST = 0.25 |
const float VOLTAGE_LEAST = 0.00144 |