Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Classes | Typedefs | Variables
BQ25713.h File Reference

Go to the source code of this file.

Classes

class  bq25713::BQ25713
 
struct  bq25713::BQ25713::IBaseReadRegister
 
struct  bq25713::BQ25713::IBaseRegister
 
struct  bq25713::BQ25713::IDoubleRegister
 
struct  bq25713::BQ25713::Regt
 
struct  bq25713::BQ25713::Regt::ChargeOption0t
 
struct  bq25713::BQ25713::Regt::ChargeOption1t
 
struct  bq25713::BQ25713::Regt::ChargeOption2t
 
struct  bq25713::BQ25713::Regt::ChargeOption3t
 
struct  bq25713::BQ25713::Regt::ProchotOption0t
 
struct  bq25713::BQ25713::Regt::ProchotOption1t
 
struct  bq25713::BQ25713::Regt::ADCOptiont
 
struct  bq25713::BQ25713::Regt::ChargerStatust
 
struct  bq25713::BQ25713::Regt::ProchotStatust
 
struct  bq25713::BQ25713::Regt::ChargeCurrentt
 
struct  bq25713::BQ25713::Regt::MaxChargeVoltaget
 
struct  bq25713::BQ25713::Regt::MinSystemVoltaget
 
struct  bq25713::BQ25713::Regt::IIN_HOSTt
 
struct  bq25713::BQ25713::Regt::IIN_DPMt
 
struct  bq25713::BQ25713::Regt::InputVoltaget
 
struct  bq25713::BQ25713::Regt::OTGVoltaget
 
struct  bq25713::BQ25713::Regt::OTGCurrentt
 
struct  bq25713::BQ25713::Regt::ADCVBUSPSYSt
 
struct  bq25713::BQ25713::Regt::ADCIBATt
 
struct  bq25713::BQ25713::Regt::ADCIINCMPINt
 
struct  bq25713::BQ25713::Regt::ADCVSYSVBATt
 
struct  bq25713::BQ25713::Regt::ManufacturerIDt
 
struct  bq25713::BQ25713::Regt::DeviceID
 

Typedefs

using bq25713::byte = uint8_t
 

Variables

constexpr uint8_t bq25713::i2cObjectIndex = 0
 
constexpr bool bq25713::usesStopBit = true
 
constexpr uint16_t bq25713::DEVICE_ID = 0x88
 
constexpr uint16_t bq25713::MANUFACTURER_ID = 0x40
 
constexpr uint16_t bq25713::CHARGE_CURRENT_ADDR = 0x02
 
constexpr uint16_t bq25713::MAX_CHARGE_VOLTAGE_ADDR = 0x04
 
constexpr uint16_t bq25713::MINIMUM_SYSTEM_VOLTAGE_ADDR = 0x0C
 
constexpr uint16_t bq25713::OTG_VOLTAGE_ADDR = 0x06
 
constexpr uint16_t bq25713::OTG_CURRENT_ADDR = 0x08
 
constexpr uint16_t bq25713::INPUT_VOLTAGE_ADDR = 0x0A
 
constexpr uint16_t bq25713::IIN_HOST_ADDR = 0x0E
 
constexpr uint16_t bq25713::IIN_DPM_ADDR = 0x24
 
constexpr uint16_t bq25713::CHARGE_OPTION_0_ADDR = 0x00
 
constexpr uint16_t bq25713::CHARGE_OPTION_1_ADDR = 0x30
 
constexpr uint16_t bq25713::CHARGE_OPTION_2_ADDR = 0x32
 
constexpr uint16_t bq25713::CHARGE_OPTION_3_ADDR = 0x34
 
constexpr uint16_t bq25713::PROCHOT_OPTION_0_ADDR = 0x36
 
constexpr uint16_t bq25713::PROCHOT_OPTION_1_ADDR = 0x38
 
constexpr uint16_t bq25713::ADC_OPTION_ADDR = 0x3A
 
constexpr uint16_t bq25713::CHARGE_STATUS_ADDR = 0x20
 
constexpr uint16_t bq25713::PROCHOT_STATUS_ADDR = 0x22
 
constexpr uint16_t bq25713::ADC_VBUS_PSYS_ADC_ADDR = 0x26
 
constexpr uint16_t bq25713::ADC_IBAT_ADDR = 0x28
 
constexpr uint16_t bq25713::CMPIN_ADC_ADDR = 0x2A
 
constexpr uint16_t bq25713::VBAT_ADC_ADDR = 0x2C
 
constexpr uint16_t bq25713::MANUFACTURER_ID_ADDR = 0x2E
 
constexpr uint16_t bq25713::DEVICE_ID_ADDR = 0x2F
 
constexpr uint16_t bq25713::OTG_ENABLE_CELL_LOW_VOLTAGE
 

Detailed Description

Author
Baptiste Hudyma

Library for basic interfacing with BQ25713 battery management IC from TI

Based on Lorro's implementation for BQ25703A driver

Variable Documentation

◆ OTG_ENABLE_CELL_LOW_VOLTAGE

constexpr uint16_t bq25713::OTG_ENABLE_CELL_LOW_VOLTAGE
constexpr
Initial value:
=
3550