charger17 2.1.0.0
Charger 17 Registers Settings

Settings for registers of Charger 17 Click driver. More...

Macros

#define CHARGER17_OTG_CV_4p85V   0x00
 Charger 17 OTG config register setting.
 
#define CHARGER17_OTG_CV_5V   0x40
 
#define CHARGER17_OTG_CV_5p15V   0x80
 
#define CHARGER17_OTG_CV_5p3V   0xC0
 
#define CHARGER17_OTG_CV_MASK   0xC0
 
#define CHARGER17_OTG_LBP_2p8V   0x00
 
#define CHARGER17_OTG_LBP_2p5V   0x02
 
#define CHARGER17_OTG_LBP_MASK   0x02
 
#define CHARGER17_OTG_CC_0p5A   0x00
 
#define CHARGER17_OTG_CC_1p2A   0x01
 
#define CHARGER17_OTG_CC_MASK   0x01
 
#define CHARGER17_TOP_QON_RST_EN   0x80
 Charger 17 TOP register setting.
 
#define CHARGER17_TOP_STAT_EN   0x40
 
#define CHARGER17_TOP_DIS_I2C_TO   0x08
 
#define CHARGER17_TOP_WDT_CNT_RST   0x04
 
#define CHARGER17_TOP_WDT_DISABLE   0x00
 
#define CHARGER17_TOP_WDT_40S   0x01
 
#define CHARGER17_TOP_WDT_80S   0x02
 
#define CHARGER17_TOP_WDT_160S   0x03
 
#define CHARGER17_TOP_WDT_MASK   0x03
 
#define CHARGER17_FUNCTION_BATFET_DIS   0x80
 Charger 17 FUNCTION register setting.
 
#define CHARGER17_FUNCTION_BATFET_DIS_DLY_12S   0x40
 
#define CHARGER17_FUNCTION_HZ   0x20
 
#define CHARGER17_FUNCTION_BUCK_PFM_DIS   0x08
 
#define CHARGER17_FUNCTION_UUG_FULLON   0x04
 
#define CHARGER17_FUNCTION_OTG_EN   0x02
 
#define CHARGER17_FUNCTION_CHG_EN   0x01
 
#define CHARGER17_IBUS_AICC_EN   0x80
 Charger 17 IBUS register setting.
 
#define CHARGER17_IBUS_AUTO_AICR   0x40
 
#define CHARGER17_IBUS_IAICR(x)   ( ( uint8_t ) ( x / 50 ) & 0x3F )
 
#define CHARGER17_VBUS_VAC_OVP_5p8V   0x00
 Charger 17 VBUS register setting.
 
#define CHARGER17_VBUS_VAC_OVP_6p5V   0x40
 
#define CHARGER17_VBUS_VAC_OVP_10p9V   0x80
 
#define CHARGER17_VBUS_VAC_OVP_14V   0xC0
 
#define CHARGER17_VBUS_VAC_OVP_MASK   0xC0
 
#define CHARGER17_VBUS_VMIVR_BAT_TRACK_4300mV   0x00
 
#define CHARGER17_VBUS_VMIVR_BAT_TRACK_VBAT_200   0x10
 
#define CHARGER17_VBUS_VMIVR_BAT_TRACK_VBAT_250   0x20
 
#define CHARGER17_VBUS_VMIVR_BAT_TRACK_VBAT_350   0x30
 
#define CHARGER17_VBUS_VMIVR_BAT_TRACK_MASK   0x30
 
#define CHARGER17_VBUS_VMIVR(x)   ( ( uint8_t ) ( ( x - 3900 ) / 100 ) & 0x0F )
 
#define CHARGER17_PRECHG_V(x)   ( ( ( uint8_t ) ( ( x - 2700 ) / 100 ) & 0x07 ) << 4 )
 Charger 17 PRECHG register setting.
 
#define CHARGER17_PRECHG_I(x)   ( ( uint8_t ) ( ( x - 50 ) / 50 ) & 0x0F )
 
#define CHARGER17_REGU_THREG_100_DEGC   0x00
 Charger 17 REGU register setting.
 
#define CHARGER17_REGU_THREG_120_DEGC   0x40
 
#define CHARGER17_REGU_THREG_MASK   0x40
 
#define CHARGER17_REGU_VSYS_MIN(x)   ( ( uint8_t ) ( ( x - 2600 ) / 100 ) & 0x0F )
 
#define CHARGER17_VCHG_VPRE_CHG_100mV   0x00
 Charger 17 VCHG register setting.
 
#define CHARGER17_VCHG_VPRE_CHG_200mV   0x80
 
#define CHARGER17_VCHG_VPRE_CHG_MASK   0x80
 
#define CHARGER17_VCHG_VBAT_REG(x)   ( ( uint8_t ) ( ( x - 3900 ) / 10 ) & 0x7F )
 
#define CHARGER17_ICHG_REG(x)   ( ( uint8_t ) ( x / 50 ) & 0x3F )
 Charger 17 ICHG register setting.
 
#define CHARGER17_CHG_TIMER_CHG_SAFE_TMR_EN   0x80
 Charger 17 CHG timer register setting.
 
#define CHARGER17_CHG_TIMER_CHG_SAFE_TMR_2XT   0x40
 
#define CHARGER17_CHG_TIMER_CHG_SAFE_TMR_5HR   0x00
 
#define CHARGER17_CHG_TIMER_CHG_SAFE_TMR_10HR   0x10
 
#define CHARGER17_CHG_TIMER_CHG_SAFE_TMR_15HR   0x20
 
#define CHARGER17_CHG_TIMER_CHG_SAFE_TMR_20HR   0x30
 
#define CHARGER17_CHG_TIMER_MASK   0x30
 
#define CHARGER17_EOC_IEOC_CHG(x)   ( ( ( uint8_t ) ( ( x - 50 ) / 50 ) & 0x0F ) << 4 )
 Charger 17 EOC register setting.
 
#define CHARGER17_EOC_BG_CHG_TMR_0MIN   0x00
 
#define CHARGER17_EOC_BG_CHG_TMR_15MIN   0x04
 
#define CHARGER17_EOC_BG_CHG_TMR_30MIN   0x08
 
#define CHARGER17_EOC_BG_CHG_TMR_45MIN   0x0C
 
#define CHARGER17_EOC_BG_CHG_TMR_MASK   0x0C
 
#define CHARGER17_EOC_TE   0x02
 
#define CHARGER17_EOC_RST   0x01
 
#define CHARGER17_INFO_REG_RST   0x80
 Charger 17 INFO register setting.
 
#define CHARGER17_INFO_DEVICE_ID   0x68
 
#define CHARGER17_INFO_DEVICE_ID_MASK   0x78
 
#define CHARGER17_INFO_DEVICE_RE_MASK   0x07
 
#define CHARGER17_JEITA_EN   0x80
 Charger 17 JEITA register setting.
 
#define CHARGER17_JEITA_COLD   0x40
 
#define CHARGER17_JEITA_COOL_ISET_50PCT   0x00
 
#define CHARGER17_JEITA_COOL_ISET_25PCT   0x20
 
#define CHARGER17_JEITA_COOL_ISET_MASK   0x20
 
#define CHARGER17_JEITA_COOL_VSET_4p1V   0x00
 
#define CHARGER17_JEITA_COOL_VSET_VBAT_REG   0x10
 
#define CHARGER17_JEITA_COOL_VSET_MASK   0x10
 
#define CHARGER17_JEITA_WARM_ISET_50PCT   0x00
 
#define CHARGER17_JEITA_WARM_ISET_ICHG_REG   0x08
 
#define CHARGER17_JEITA_WARM_ISET_MASK   0x08
 
#define CHARGER17_JEITA_WARM_VSET_4p1V   0x00
 
#define CHARGER17_JEITA_WARM_VSET_VBAT_REG   0x04
 
#define CHARGER17_JEITA_WARM_VSET_MASK   0x04
 
#define CHARGER17_JEITA_HOT   0x02
 
#define CHARGER17_PUMP_EXP_PE_EN   0x80
 Charger 17 PUMP exp register setting.
 
#define CHARGER17_PUMP_EXP_PE_EN   0x80
 Charger 17 PUMP exp register setting.
 
#define CHARGER17_PUMP_EXP_PE_EN   0x80
 Charger 17 PUMP exp register setting.
 
#define CHARGER17_PUMP_EXP_PE_SEL_PE10   0x00
 
#define CHARGER17_PUMP_EXP_PE_SEL_PE20   0x40
 
#define CHARGER17_PUMP_EXP_PE_SEL_MASK   0x40
 
#define CHARGER17_PUMP_EXP_PE10_INC_VDOWN   0x00
 
#define CHARGER17_PUMP_EXP_PE10_INC_VUP   0x20
 
#define CHARGER17_PUMP_EXP_PE10_INC_MASK   0x20
 
#define CHARGER17_PUMP_EXP_PE20_CODE(x)   ( ( uint8_t ) ( ( ( float ) x - 5.5 ) / 0.5 ) & 0x1F )
 
#define CHARGER17_PUMP_EXP_PE20_CODE_SELF_TEST   0x1E
 
#define CHARGER17_PUMP_EXP_PE20_CODE_DIS_DROP   0x1F
 
#define CHARGER17_DPDM_DET_BC12_EN   0x80
 Charger 17 DPDM det register setting.
 
#define CHARGER17_DPDM_DET_DCDT_SEL_DIS   0x00
 
#define CHARGER17_DPDM_DET_DCDT_SEL_300mS   0x20
 
#define CHARGER17_DPDM_DET_DCDT_SEL_600mS   0x40
 
#define CHARGER17_DPDM_DET_DCDT_SEL_WAIT_DATA   0x60
 
#define CHARGER17_DPDM_DET_DCDT_SEL_MASK   0x60
 
#define CHARGER17_DPDM_DET_SPEC_TA_EN   0x10
 
#define CHARGER17_DPDM_DET_DCP_DP_OPT   0x01
 
#define CHARGER17_PORT_STAT_VBUS_DEV_1   0x80
 Charger 17 IC status register setting.
 
#define CHARGER17_PORT_STAT_VBUS_DEV_2   0x90
 
#define CHARGER17_PORT_STAT_VBUS_DEV_3   0xA0
 
#define CHARGER17_PORT_STAT_VBUS_DEV_4   0xB0
 
#define CHARGER17_PORT_STAT_VBUS_UNKNOWN   0xC0
 
#define CHARGER17_PORT_STAT_VBUS_SDP   0xD0
 
#define CHARGER17_PORT_STAT_VBUS_CDP   0xE0
 
#define CHARGER17_PORT_STAT_VBUS_DCP   0xF0
 
#define CHARGER17_PORT_STAT_BIT_MASK   0xF0
 
#define CHARGER17_IC_STAT_HZ_SLEEP   0x00
 
#define CHARGER17_IC_STAT_VBUS_READY   0x01
 
#define CHARGER17_IC_STAT_TRICKLE_CHG   0x02
 
#define CHARGER17_IC_STAT_PRE_CHG   0x03
 
#define CHARGER17_IC_STAT_FAST_CHG   0x04
 
#define CHARGER17_IC_STAT_IEOC_CHG   0x05
 
#define CHARGER17_IC_STAT_BACK_GROUND_CHG   0x06
 
#define CHARGER17_IC_STAT_CHG_DONE   0x07
 
#define CHARGER17_IC_STAT_CHG_FAULT   0x08
 
#define CHARGER17_IC_STAT_OTG   0x0F
 
#define CHARGER17_IC_STAT_BIT_MASK   0x0F
 
#define CHARGER17_STAT0_VBUS_GD   0x80
 Charger 17 status 0 register setting.
 
#define CHARGER17_STAT0_CHG_RDY   0x40
 
#define CHARGER17_STAT0_IEOC   0x20
 
#define CHARGER17_STAT0_BG_CHG   0x10
 
#define CHARGER17_STAT0_CHG_DONE   0x08
 
#define CHARGER17_STAT0_BC12_DONE   0x01
 
#define CHARGER17_STAT1_CHG_MIVR   0x80
 Charger 17 status 1 register setting.
 
#define CHARGER17_STAT1_CHG_AICR   0x40
 
#define CHARGER17_STAT1_CHG_THREG   0x20
 
#define CHARGER17_STAT1_CHG_BUSUV   0x10
 
#define CHARGER17_STAT1_CHG_TOUT   0x08
 
#define CHARGER17_STAT1_CHG_SYSOV   0x04
 
#define CHARGER17_STAT1_CHG_BATOV   0x02
 
#define CHARGER17_STAT2_JEITA_HOT   0x80
 Charger 17 status 2 register setting.
 
#define CHARGER17_STAT2_JEITA_WARM   0x40
 
#define CHARGER17_STAT2_JEITA_COOL   0x20
 
#define CHARGER17_STAT2_JEITA_COLD   0x10
 
#define CHARGER17_STAT2_SYS_MIN   0x02
 
#define CHARGER17_STAT3_OTP   0x80
 Charger 17 status 3 register setting.
 
#define CHARGER17_STAT3_VAC_OV   0x40
 
#define CHARGER17_STAT3_WDT   0x20
 
#define CHARGER17_STAT3_OTG_CC   0x04
 
#define CHARGER17_DEVICE_ADDRESS   0x53
 Charger 17 device address setting.
 

Detailed Description

Settings for registers of Charger 17 Click driver.

Macro Definition Documentation

◆ CHARGER17_CHG_TIMER_CHG_SAFE_TMR_10HR

#define CHARGER17_CHG_TIMER_CHG_SAFE_TMR_10HR   0x10

◆ CHARGER17_CHG_TIMER_CHG_SAFE_TMR_15HR

#define CHARGER17_CHG_TIMER_CHG_SAFE_TMR_15HR   0x20

◆ CHARGER17_CHG_TIMER_CHG_SAFE_TMR_20HR

#define CHARGER17_CHG_TIMER_CHG_SAFE_TMR_20HR   0x30

◆ CHARGER17_CHG_TIMER_CHG_SAFE_TMR_2XT

#define CHARGER17_CHG_TIMER_CHG_SAFE_TMR_2XT   0x40

◆ CHARGER17_CHG_TIMER_CHG_SAFE_TMR_5HR

#define CHARGER17_CHG_TIMER_CHG_SAFE_TMR_5HR   0x00

◆ CHARGER17_CHG_TIMER_CHG_SAFE_TMR_EN

#define CHARGER17_CHG_TIMER_CHG_SAFE_TMR_EN   0x80

Charger 17 CHG timer register setting.

Specified setting for CHG timer register of Charger 17 Click driver.

◆ CHARGER17_CHG_TIMER_MASK

#define CHARGER17_CHG_TIMER_MASK   0x30

◆ CHARGER17_DEVICE_ADDRESS

#define CHARGER17_DEVICE_ADDRESS   0x53

Charger 17 device address setting.

Specified setting for device slave address selection of Charger 17 Click driver.

◆ CHARGER17_DPDM_DET_BC12_EN

#define CHARGER17_DPDM_DET_BC12_EN   0x80

Charger 17 DPDM det register setting.

Specified setting for DPDM det register of Charger 17 Click driver.

◆ CHARGER17_DPDM_DET_DCDT_SEL_300mS

#define CHARGER17_DPDM_DET_DCDT_SEL_300mS   0x20

◆ CHARGER17_DPDM_DET_DCDT_SEL_600mS

#define CHARGER17_DPDM_DET_DCDT_SEL_600mS   0x40

◆ CHARGER17_DPDM_DET_DCDT_SEL_DIS

#define CHARGER17_DPDM_DET_DCDT_SEL_DIS   0x00

◆ CHARGER17_DPDM_DET_DCDT_SEL_MASK

#define CHARGER17_DPDM_DET_DCDT_SEL_MASK   0x60

◆ CHARGER17_DPDM_DET_DCDT_SEL_WAIT_DATA

#define CHARGER17_DPDM_DET_DCDT_SEL_WAIT_DATA   0x60

◆ CHARGER17_DPDM_DET_DCP_DP_OPT

#define CHARGER17_DPDM_DET_DCP_DP_OPT   0x01

◆ CHARGER17_DPDM_DET_SPEC_TA_EN

#define CHARGER17_DPDM_DET_SPEC_TA_EN   0x10

◆ CHARGER17_EOC_BG_CHG_TMR_0MIN

#define CHARGER17_EOC_BG_CHG_TMR_0MIN   0x00

◆ CHARGER17_EOC_BG_CHG_TMR_15MIN

#define CHARGER17_EOC_BG_CHG_TMR_15MIN   0x04

◆ CHARGER17_EOC_BG_CHG_TMR_30MIN

#define CHARGER17_EOC_BG_CHG_TMR_30MIN   0x08

◆ CHARGER17_EOC_BG_CHG_TMR_45MIN

#define CHARGER17_EOC_BG_CHG_TMR_45MIN   0x0C

◆ CHARGER17_EOC_BG_CHG_TMR_MASK

#define CHARGER17_EOC_BG_CHG_TMR_MASK   0x0C

◆ CHARGER17_EOC_IEOC_CHG

#define CHARGER17_EOC_IEOC_CHG ( x)    ( ( ( uint8_t ) ( ( x - 50 ) / 50 ) & 0x0F ) << 4 )

Charger 17 EOC register setting.

Specified setting for EOC register of Charger 17 Click driver.

◆ CHARGER17_EOC_RST

#define CHARGER17_EOC_RST   0x01

◆ CHARGER17_EOC_TE

#define CHARGER17_EOC_TE   0x02

◆ CHARGER17_FUNCTION_BATFET_DIS

#define CHARGER17_FUNCTION_BATFET_DIS   0x80

Charger 17 FUNCTION register setting.

Specified setting for FUNCTION register of Charger 17 Click driver.

◆ CHARGER17_FUNCTION_BATFET_DIS_DLY_12S

#define CHARGER17_FUNCTION_BATFET_DIS_DLY_12S   0x40

◆ CHARGER17_FUNCTION_BUCK_PFM_DIS

#define CHARGER17_FUNCTION_BUCK_PFM_DIS   0x08

◆ CHARGER17_FUNCTION_CHG_EN

#define CHARGER17_FUNCTION_CHG_EN   0x01

◆ CHARGER17_FUNCTION_HZ

#define CHARGER17_FUNCTION_HZ   0x20

◆ CHARGER17_FUNCTION_OTG_EN

#define CHARGER17_FUNCTION_OTG_EN   0x02

◆ CHARGER17_FUNCTION_UUG_FULLON

#define CHARGER17_FUNCTION_UUG_FULLON   0x04

◆ CHARGER17_IBUS_AICC_EN

#define CHARGER17_IBUS_AICC_EN   0x80

Charger 17 IBUS register setting.

Specified setting for IBUS register of Charger 17 Click driver.

◆ CHARGER17_IBUS_AUTO_AICR

#define CHARGER17_IBUS_AUTO_AICR   0x40

◆ CHARGER17_IBUS_IAICR

#define CHARGER17_IBUS_IAICR ( x)    ( ( uint8_t ) ( x / 50 ) & 0x3F )

◆ CHARGER17_IC_STAT_BACK_GROUND_CHG

#define CHARGER17_IC_STAT_BACK_GROUND_CHG   0x06

◆ CHARGER17_IC_STAT_BIT_MASK

#define CHARGER17_IC_STAT_BIT_MASK   0x0F

◆ CHARGER17_IC_STAT_CHG_DONE

#define CHARGER17_IC_STAT_CHG_DONE   0x07

◆ CHARGER17_IC_STAT_CHG_FAULT

#define CHARGER17_IC_STAT_CHG_FAULT   0x08

◆ CHARGER17_IC_STAT_FAST_CHG

#define CHARGER17_IC_STAT_FAST_CHG   0x04

◆ CHARGER17_IC_STAT_HZ_SLEEP

#define CHARGER17_IC_STAT_HZ_SLEEP   0x00

◆ CHARGER17_IC_STAT_IEOC_CHG

#define CHARGER17_IC_STAT_IEOC_CHG   0x05

◆ CHARGER17_IC_STAT_OTG

#define CHARGER17_IC_STAT_OTG   0x0F

◆ CHARGER17_IC_STAT_PRE_CHG

#define CHARGER17_IC_STAT_PRE_CHG   0x03

◆ CHARGER17_IC_STAT_TRICKLE_CHG

#define CHARGER17_IC_STAT_TRICKLE_CHG   0x02

◆ CHARGER17_IC_STAT_VBUS_READY

#define CHARGER17_IC_STAT_VBUS_READY   0x01

◆ CHARGER17_ICHG_REG

#define CHARGER17_ICHG_REG ( x)    ( ( uint8_t ) ( x / 50 ) & 0x3F )

Charger 17 ICHG register setting.

Specified setting for ICHG register of Charger 17 Click driver.

◆ CHARGER17_INFO_DEVICE_ID

#define CHARGER17_INFO_DEVICE_ID   0x68

◆ CHARGER17_INFO_DEVICE_ID_MASK

#define CHARGER17_INFO_DEVICE_ID_MASK   0x78

◆ CHARGER17_INFO_DEVICE_RE_MASK

#define CHARGER17_INFO_DEVICE_RE_MASK   0x07

◆ CHARGER17_INFO_REG_RST

#define CHARGER17_INFO_REG_RST   0x80

Charger 17 INFO register setting.

Specified setting for INFO register of Charger 17 Click driver.

◆ CHARGER17_JEITA_COLD

#define CHARGER17_JEITA_COLD   0x40

◆ CHARGER17_JEITA_COOL_ISET_25PCT

#define CHARGER17_JEITA_COOL_ISET_25PCT   0x20

◆ CHARGER17_JEITA_COOL_ISET_50PCT

#define CHARGER17_JEITA_COOL_ISET_50PCT   0x00

◆ CHARGER17_JEITA_COOL_ISET_MASK

#define CHARGER17_JEITA_COOL_ISET_MASK   0x20

◆ CHARGER17_JEITA_COOL_VSET_4p1V

#define CHARGER17_JEITA_COOL_VSET_4p1V   0x00

◆ CHARGER17_JEITA_COOL_VSET_MASK

#define CHARGER17_JEITA_COOL_VSET_MASK   0x10

◆ CHARGER17_JEITA_COOL_VSET_VBAT_REG

#define CHARGER17_JEITA_COOL_VSET_VBAT_REG   0x10

◆ CHARGER17_JEITA_EN

#define CHARGER17_JEITA_EN   0x80

Charger 17 JEITA register setting.

Specified setting for JEITA register of Charger 17 Click driver.

◆ CHARGER17_JEITA_HOT

#define CHARGER17_JEITA_HOT   0x02

◆ CHARGER17_JEITA_WARM_ISET_50PCT

#define CHARGER17_JEITA_WARM_ISET_50PCT   0x00

◆ CHARGER17_JEITA_WARM_ISET_ICHG_REG

#define CHARGER17_JEITA_WARM_ISET_ICHG_REG   0x08

◆ CHARGER17_JEITA_WARM_ISET_MASK

#define CHARGER17_JEITA_WARM_ISET_MASK   0x08

◆ CHARGER17_JEITA_WARM_VSET_4p1V

#define CHARGER17_JEITA_WARM_VSET_4p1V   0x00

◆ CHARGER17_JEITA_WARM_VSET_MASK

#define CHARGER17_JEITA_WARM_VSET_MASK   0x04

◆ CHARGER17_JEITA_WARM_VSET_VBAT_REG

#define CHARGER17_JEITA_WARM_VSET_VBAT_REG   0x04

◆ CHARGER17_OTG_CC_0p5A

#define CHARGER17_OTG_CC_0p5A   0x00

◆ CHARGER17_OTG_CC_1p2A

#define CHARGER17_OTG_CC_1p2A   0x01

◆ CHARGER17_OTG_CC_MASK

#define CHARGER17_OTG_CC_MASK   0x01

◆ CHARGER17_OTG_CV_4p85V

#define CHARGER17_OTG_CV_4p85V   0x00

Charger 17 OTG config register setting.

Specified setting for OTG config register of Charger 17 Click driver.

◆ CHARGER17_OTG_CV_5p15V

#define CHARGER17_OTG_CV_5p15V   0x80

◆ CHARGER17_OTG_CV_5p3V

#define CHARGER17_OTG_CV_5p3V   0xC0

◆ CHARGER17_OTG_CV_5V

#define CHARGER17_OTG_CV_5V   0x40

◆ CHARGER17_OTG_CV_MASK

#define CHARGER17_OTG_CV_MASK   0xC0

◆ CHARGER17_OTG_LBP_2p5V

#define CHARGER17_OTG_LBP_2p5V   0x02

◆ CHARGER17_OTG_LBP_2p8V

#define CHARGER17_OTG_LBP_2p8V   0x00

◆ CHARGER17_OTG_LBP_MASK

#define CHARGER17_OTG_LBP_MASK   0x02

◆ CHARGER17_PORT_STAT_BIT_MASK

#define CHARGER17_PORT_STAT_BIT_MASK   0xF0

◆ CHARGER17_PORT_STAT_VBUS_CDP

#define CHARGER17_PORT_STAT_VBUS_CDP   0xE0

◆ CHARGER17_PORT_STAT_VBUS_DCP

#define CHARGER17_PORT_STAT_VBUS_DCP   0xF0

◆ CHARGER17_PORT_STAT_VBUS_DEV_1

#define CHARGER17_PORT_STAT_VBUS_DEV_1   0x80

Charger 17 IC status register setting.

Specified setting for IC status register of Charger 17 Click driver.

◆ CHARGER17_PORT_STAT_VBUS_DEV_2

#define CHARGER17_PORT_STAT_VBUS_DEV_2   0x90

◆ CHARGER17_PORT_STAT_VBUS_DEV_3

#define CHARGER17_PORT_STAT_VBUS_DEV_3   0xA0

◆ CHARGER17_PORT_STAT_VBUS_DEV_4

#define CHARGER17_PORT_STAT_VBUS_DEV_4   0xB0

◆ CHARGER17_PORT_STAT_VBUS_SDP

#define CHARGER17_PORT_STAT_VBUS_SDP   0xD0

◆ CHARGER17_PORT_STAT_VBUS_UNKNOWN

#define CHARGER17_PORT_STAT_VBUS_UNKNOWN   0xC0

◆ CHARGER17_PRECHG_I

#define CHARGER17_PRECHG_I ( x)    ( ( uint8_t ) ( ( x - 50 ) / 50 ) & 0x0F )

◆ CHARGER17_PRECHG_V

#define CHARGER17_PRECHG_V ( x)    ( ( ( uint8_t ) ( ( x - 2700 ) / 100 ) & 0x07 ) << 4 )

Charger 17 PRECHG register setting.

Specified setting for PRECHG register of Charger 17 Click driver.

◆ CHARGER17_PUMP_EXP_PE10_INC_MASK

#define CHARGER17_PUMP_EXP_PE10_INC_MASK   0x20

◆ CHARGER17_PUMP_EXP_PE10_INC_VDOWN

#define CHARGER17_PUMP_EXP_PE10_INC_VDOWN   0x00

◆ CHARGER17_PUMP_EXP_PE10_INC_VUP

#define CHARGER17_PUMP_EXP_PE10_INC_VUP   0x20

◆ CHARGER17_PUMP_EXP_PE20_CODE

#define CHARGER17_PUMP_EXP_PE20_CODE ( x)    ( ( uint8_t ) ( ( ( float ) x - 5.5 ) / 0.5 ) & 0x1F )

◆ CHARGER17_PUMP_EXP_PE20_CODE_DIS_DROP

#define CHARGER17_PUMP_EXP_PE20_CODE_DIS_DROP   0x1F

◆ CHARGER17_PUMP_EXP_PE20_CODE_SELF_TEST

#define CHARGER17_PUMP_EXP_PE20_CODE_SELF_TEST   0x1E

◆ CHARGER17_PUMP_EXP_PE_EN [1/3]

#define CHARGER17_PUMP_EXP_PE_EN   0x80

Charger 17 PUMP exp register setting.

Specified setting for PUMP exp register of Charger 17 Click driver.

◆ CHARGER17_PUMP_EXP_PE_EN [2/3]

#define CHARGER17_PUMP_EXP_PE_EN   0x80

Charger 17 PUMP exp register setting.

Specified setting for PUMP exp register of Charger 17 Click driver.

◆ CHARGER17_PUMP_EXP_PE_EN [3/3]

#define CHARGER17_PUMP_EXP_PE_EN   0x80

Charger 17 PUMP exp register setting.

Specified setting for PUMP exp register of Charger 17 Click driver.

◆ CHARGER17_PUMP_EXP_PE_SEL_MASK

#define CHARGER17_PUMP_EXP_PE_SEL_MASK   0x40

◆ CHARGER17_PUMP_EXP_PE_SEL_PE10

#define CHARGER17_PUMP_EXP_PE_SEL_PE10   0x00

◆ CHARGER17_PUMP_EXP_PE_SEL_PE20

#define CHARGER17_PUMP_EXP_PE_SEL_PE20   0x40

◆ CHARGER17_REGU_THREG_100_DEGC

#define CHARGER17_REGU_THREG_100_DEGC   0x00

Charger 17 REGU register setting.

Specified setting for REGU register of Charger 17 Click driver.

◆ CHARGER17_REGU_THREG_120_DEGC

#define CHARGER17_REGU_THREG_120_DEGC   0x40

◆ CHARGER17_REGU_THREG_MASK

#define CHARGER17_REGU_THREG_MASK   0x40

◆ CHARGER17_REGU_VSYS_MIN

#define CHARGER17_REGU_VSYS_MIN ( x)    ( ( uint8_t ) ( ( x - 2600 ) / 100 ) & 0x0F )

◆ CHARGER17_STAT0_BC12_DONE

#define CHARGER17_STAT0_BC12_DONE   0x01

◆ CHARGER17_STAT0_BG_CHG

#define CHARGER17_STAT0_BG_CHG   0x10

◆ CHARGER17_STAT0_CHG_DONE

#define CHARGER17_STAT0_CHG_DONE   0x08

◆ CHARGER17_STAT0_CHG_RDY

#define CHARGER17_STAT0_CHG_RDY   0x40

◆ CHARGER17_STAT0_IEOC

#define CHARGER17_STAT0_IEOC   0x20

◆ CHARGER17_STAT0_VBUS_GD

#define CHARGER17_STAT0_VBUS_GD   0x80

Charger 17 status 0 register setting.

Specified setting for status 0 register of Charger 17 Click driver.

◆ CHARGER17_STAT1_CHG_AICR

#define CHARGER17_STAT1_CHG_AICR   0x40

◆ CHARGER17_STAT1_CHG_BATOV

#define CHARGER17_STAT1_CHG_BATOV   0x02

◆ CHARGER17_STAT1_CHG_BUSUV

#define CHARGER17_STAT1_CHG_BUSUV   0x10

◆ CHARGER17_STAT1_CHG_MIVR

#define CHARGER17_STAT1_CHG_MIVR   0x80

Charger 17 status 1 register setting.

Specified setting for status 1 register of Charger 17 Click driver.

◆ CHARGER17_STAT1_CHG_SYSOV

#define CHARGER17_STAT1_CHG_SYSOV   0x04

◆ CHARGER17_STAT1_CHG_THREG

#define CHARGER17_STAT1_CHG_THREG   0x20

◆ CHARGER17_STAT1_CHG_TOUT

#define CHARGER17_STAT1_CHG_TOUT   0x08

◆ CHARGER17_STAT2_JEITA_COLD

#define CHARGER17_STAT2_JEITA_COLD   0x10

◆ CHARGER17_STAT2_JEITA_COOL

#define CHARGER17_STAT2_JEITA_COOL   0x20

◆ CHARGER17_STAT2_JEITA_HOT

#define CHARGER17_STAT2_JEITA_HOT   0x80

Charger 17 status 2 register setting.

Specified setting for status 2 register of Charger 17 Click driver.

◆ CHARGER17_STAT2_JEITA_WARM

#define CHARGER17_STAT2_JEITA_WARM   0x40

◆ CHARGER17_STAT2_SYS_MIN

#define CHARGER17_STAT2_SYS_MIN   0x02

◆ CHARGER17_STAT3_OTG_CC

#define CHARGER17_STAT3_OTG_CC   0x04

◆ CHARGER17_STAT3_OTP

#define CHARGER17_STAT3_OTP   0x80

Charger 17 status 3 register setting.

Specified setting for status 3 register of Charger 17 Click driver.

◆ CHARGER17_STAT3_VAC_OV

#define CHARGER17_STAT3_VAC_OV   0x40

◆ CHARGER17_STAT3_WDT

#define CHARGER17_STAT3_WDT   0x20

◆ CHARGER17_TOP_DIS_I2C_TO

#define CHARGER17_TOP_DIS_I2C_TO   0x08

◆ CHARGER17_TOP_QON_RST_EN

#define CHARGER17_TOP_QON_RST_EN   0x80

Charger 17 TOP register setting.

Specified setting for TOP register of Charger 17 Click driver.

◆ CHARGER17_TOP_STAT_EN

#define CHARGER17_TOP_STAT_EN   0x40

◆ CHARGER17_TOP_WDT_160S

#define CHARGER17_TOP_WDT_160S   0x03

◆ CHARGER17_TOP_WDT_40S

#define CHARGER17_TOP_WDT_40S   0x01

◆ CHARGER17_TOP_WDT_80S

#define CHARGER17_TOP_WDT_80S   0x02

◆ CHARGER17_TOP_WDT_CNT_RST

#define CHARGER17_TOP_WDT_CNT_RST   0x04

◆ CHARGER17_TOP_WDT_DISABLE

#define CHARGER17_TOP_WDT_DISABLE   0x00

◆ CHARGER17_TOP_WDT_MASK

#define CHARGER17_TOP_WDT_MASK   0x03

◆ CHARGER17_VBUS_VAC_OVP_10p9V

#define CHARGER17_VBUS_VAC_OVP_10p9V   0x80

◆ CHARGER17_VBUS_VAC_OVP_14V

#define CHARGER17_VBUS_VAC_OVP_14V   0xC0

◆ CHARGER17_VBUS_VAC_OVP_5p8V

#define CHARGER17_VBUS_VAC_OVP_5p8V   0x00

Charger 17 VBUS register setting.

Specified setting for VBUS register of Charger 17 Click driver.

◆ CHARGER17_VBUS_VAC_OVP_6p5V

#define CHARGER17_VBUS_VAC_OVP_6p5V   0x40

◆ CHARGER17_VBUS_VAC_OVP_MASK

#define CHARGER17_VBUS_VAC_OVP_MASK   0xC0

◆ CHARGER17_VBUS_VMIVR

#define CHARGER17_VBUS_VMIVR ( x)    ( ( uint8_t ) ( ( x - 3900 ) / 100 ) & 0x0F )

◆ CHARGER17_VBUS_VMIVR_BAT_TRACK_4300mV

#define CHARGER17_VBUS_VMIVR_BAT_TRACK_4300mV   0x00

◆ CHARGER17_VBUS_VMIVR_BAT_TRACK_MASK

#define CHARGER17_VBUS_VMIVR_BAT_TRACK_MASK   0x30

◆ CHARGER17_VBUS_VMIVR_BAT_TRACK_VBAT_200

#define CHARGER17_VBUS_VMIVR_BAT_TRACK_VBAT_200   0x10

◆ CHARGER17_VBUS_VMIVR_BAT_TRACK_VBAT_250

#define CHARGER17_VBUS_VMIVR_BAT_TRACK_VBAT_250   0x20

◆ CHARGER17_VBUS_VMIVR_BAT_TRACK_VBAT_350

#define CHARGER17_VBUS_VMIVR_BAT_TRACK_VBAT_350   0x30

◆ CHARGER17_VCHG_VBAT_REG

#define CHARGER17_VCHG_VBAT_REG ( x)    ( ( uint8_t ) ( ( x - 3900 ) / 10 ) & 0x7F )

◆ CHARGER17_VCHG_VPRE_CHG_100mV

#define CHARGER17_VCHG_VPRE_CHG_100mV   0x00

Charger 17 VCHG register setting.

Specified setting for VCHG register of Charger 17 Click driver.

◆ CHARGER17_VCHG_VPRE_CHG_200mV

#define CHARGER17_VCHG_VPRE_CHG_200mV   0x80

◆ CHARGER17_VCHG_VPRE_CHG_MASK

#define CHARGER17_VCHG_VPRE_CHG_MASK   0x80