charger 2.1.0.0
Charger Settings

Settings of Charger Click driver. More...

Macros

#define CHARGER_PAGE_0   0
 Charger memory page setting.
 
#define CHARGER_PAGE_1   1
 
#define CHARGER_PAGE_2   2
 
#define CHARGER_PAGE_3   3
 
#define CHARGER_PAGE_4   4
 
#define CHARGER_PAGE_5   5
 
#define CHARGER_PAGE_6   6
 
#define CHARGER_PAGE_7   7
 
#define CHARGER_PAGE_SIZE   8
 
#define CHARGER_CONFIG_IAD   0x01
 Charger Status/Config register setting.
 
#define CHARGER_CONFIG_CA   0x02
 
#define CHARGER_CONFIG_EE   0x04
 
#define CHARGER_CONFIG_AD   0x08
 
#define CHARGER_CONFIG_TB   0x10
 
#define CHARGER_CONFIG_NVM   0x20
 
#define CHARGER_CONFIG_ADB   0x40
 
#define CHARGER_TEMPERATURE_RES   0.03125f
 Charger measurement values.
 
#define CHARGER_VOLTAGE_RES   0.01f
 
#define CHARGER_CURRENT_RES   204.8f
 
#define CHARGER_FAMILY_CODE   0x26
 Charger family code value.
 
#define CHARGER_ADDRESS_0   0x00
 Charger address selection macros.
 
#define CHARGER_ADDRESS_ALL   0xFF
 

Detailed Description

Settings of Charger Click driver.

Macro Definition Documentation

◆ CHARGER_ADDRESS_0

#define CHARGER_ADDRESS_0   0x00

Charger address selection macros.

Specified address selection macros of Charger Click driver.

◆ CHARGER_ADDRESS_ALL

#define CHARGER_ADDRESS_ALL   0xFF

◆ CHARGER_CONFIG_AD

#define CHARGER_CONFIG_AD   0x08

◆ CHARGER_CONFIG_ADB

#define CHARGER_CONFIG_ADB   0x40

◆ CHARGER_CONFIG_CA

#define CHARGER_CONFIG_CA   0x02

◆ CHARGER_CONFIG_EE

#define CHARGER_CONFIG_EE   0x04

◆ CHARGER_CONFIG_IAD

#define CHARGER_CONFIG_IAD   0x01

Charger Status/Config register setting.

Specified Status/Config register setting of Charger Click driver.

◆ CHARGER_CONFIG_NVM

#define CHARGER_CONFIG_NVM   0x20

◆ CHARGER_CONFIG_TB

#define CHARGER_CONFIG_TB   0x10

◆ CHARGER_CURRENT_RES

#define CHARGER_CURRENT_RES   204.8f

◆ CHARGER_FAMILY_CODE

#define CHARGER_FAMILY_CODE   0x26

Charger family code value.

Specified family code value of Charger Click driver.

◆ CHARGER_PAGE_0

#define CHARGER_PAGE_0   0

Charger memory page setting.

Specified memory page setting of Charger Click driver.

◆ CHARGER_PAGE_1

#define CHARGER_PAGE_1   1

◆ CHARGER_PAGE_2

#define CHARGER_PAGE_2   2

◆ CHARGER_PAGE_3

#define CHARGER_PAGE_3   3

◆ CHARGER_PAGE_4

#define CHARGER_PAGE_4   4

◆ CHARGER_PAGE_5

#define CHARGER_PAGE_5   5

◆ CHARGER_PAGE_6

#define CHARGER_PAGE_6   6

◆ CHARGER_PAGE_7

#define CHARGER_PAGE_7   7

◆ CHARGER_PAGE_SIZE

#define CHARGER_PAGE_SIZE   8

◆ CHARGER_TEMPERATURE_RES

#define CHARGER_TEMPERATURE_RES   0.03125f

Charger measurement values.

Specified measurement values of Charger Click driver.

◆ CHARGER_VOLTAGE_RES

#define CHARGER_VOLTAGE_RES   0.01f