#pragma once


namespace maps::mrc::drive::i2c_addr {

// For addresses descriptions see 34 page of bq25713.pdf

constexpr int HARDWARE_CHECK        = 0x2E;
constexpr int BAT_VOLTAGE           = 0x2c;
constexpr int INPUT_VOLTAGE         = 0x27;
constexpr int CHARGER_STATUS        = 0x21;
constexpr int BAT_DISCHARGE_CURRENT = 0x28;
constexpr int BAT_CHARGE_CURRENT    = 0x29;
constexpr int CHARGE_CURRENT        = 0x02;
constexpr int CHARGE_VOLTAGE        = 0x04;
constexpr int BAT_BASE              = 0x00;
constexpr int ADC_LSB               = 0x3a;
constexpr int ADC_MSB               = 0x3b;
constexpr int MIN_VOLTAGE           = 0x0d;

} // namespace maps::mrc::drive
