battman2 2.0.0.0
|
Settings for registers of BATT-MAN 2 Click driver. More...
Settings for registers of BATT-MAN 2 Click driver.
#define BATTMAN2_ACTIVE_DISCHARGE_DISABLE 0x00 |
BATT-MAN 2 SIMO Buck-Boost Active Discharge Enable setting.
Specified setting for device IMO Buck-Boost Active Discharge Enable selection of BATT-MAN 2 Click driver.
#define BATTMAN2_ACTIVE_DISCHARGE_ENABLE 0x01 |
#define BATTMAN2_BIT_MASK_CHARGER_DISABLE 0xFE |
BATT-MAN 2 charger enable setting.
Specified setting for device charger enable of BATT-MAN 2 Click driver.
#define BATTMAN2_BIT_MASK_CHARGER_ENABLE 0x01 |
#define BATTMAN2_CURRENT_LIMIT_1000_mA 0x00 |
BATT-MAN 2 SIMO Buck-Boost Peak Current Limit setting.
Specified setting for device IMO Buck-Boost Peak Current Limit selection of BATT-MAN 2 Click driver.
#define BATTMAN2_CURRENT_LIMIT_333_mA 0x03 |
#define BATTMAN2_CURRENT_LIMIT_500_mA 0x02 |
#define BATTMAN2_CURRENT_LIMIT_750_mA 0x01 |
#define BATTMAN2_DBEN_GPI_DEBOUNCE_30_ms 0x10 |
#define BATTMAN2_DBEN_GPI_NO_DEBOUNCE 0x00 |
#define BATTMAN2_DI_GPIO_LOGIC_HIGH 0x02 |
#define BATTMAN2_DI_GPIO_LOGIC_LOW 0x00 |
#define BATTMAN2_DIR_INPUT 0x01 |
#define BATTMAN2_DIR_OUTPUT 0x00 |
#define BATTMAN2_DO_GPIO_LOGIC_HIGH 0x08 |
#define BATTMAN2_DO_GPIO_LOGIC_LOW 0x00 |
#define BATTMAN2_DRV_OPEN_DRAIN 0x00 |
#define BATTMAN2_DRV_PUSH_PULL 0x04 |
#define BATTMAN2_DRV_SBB_FAST_TRANSITION_TIME 0x00 |
BATT-MAN 2 SIMO Buck-Boost setting.
Specified setting for device CHGIN in SIMO Buck-Boost selection of BATT-MAN 2 Click driver.
#define BATTMAN2_DRV_SBB_TRANSITION_TIME_1 0x01 |
#define BATTMAN2_DRV_SBB_TRANSITION_TIME_2 0x02 |
#define BATTMAN2_DRV_SBB_TRANSITION_TIME_3 0x03 |
#define BATTMAN2_ENABLE_CONTROL_FPS_SLOT_0 0x00 |
BATT-MAN 2 SIMO Buck-Boost FPS setting.
Specified setting for device IMO Buck-Boost FPS selection of BATT-MAN 2 Click driver.
#define BATTMAN2_ENABLE_CONTROL_FPS_SLOT_1 0x01 |
#define BATTMAN2_ENABLE_CONTROL_FPS_SLOT_2 0x02 |
#define BATTMAN2_ENABLE_CONTROL_FPS_SLOT_3 0x03 |
#define BATTMAN2_ENABLE_CONTROL_OFF_IRRESPECTIVE_FPS 0x04 |
#define BATTMAN2_ENABLE_CONTROL_ON_IRRESPECTIVE_FPS 0x06 |
#define BATTMAN2_I_PQ_10_PERCENTAGE 0x00 |
BATT-MAN 2 prequalification charge current setting.
Specified setting for device prequalification charge current selection as a percentage of BATT-MAN 2 Click driver.
#define BATTMAN2_I_PQ_20_PERCENTAGE 0x01 |
#define BATTMAN2_I_TERM_10_PERCENTAGE 0x02 |
#define BATTMAN2_I_TERM_15_PERCENTAGE 0x03 |
#define BATTMAN2_I_TERM_5_PERCENTAGE 0x00 |
BATT-MAN 2 Charger Termination Current setting.
Specified setting for device Charger Termination Current selection of BATT-MAN 2 Click driver.
#define BATTMAN2_I_TERM_7_5_PERCENTAGE 0x01 |
#define BATTMAN2_ICHGIN_LIM_190_mA 0x01 |
#define BATTMAN2_ICHGIN_LIM_285_mA 0x02 |
#define BATTMAN2_ICHGIN_LIM_380_mA 0x03 |
#define BATTMAN2_ICHGIN_LIM_475_mA 0x04 |
#define BATTMAN2_ICHGIN_LIM_95_mA 0x00 |
BATT-MAN 2 Buck-Boost interpreted modes setting.
Specified setting for device CHGIN in Buck-Boost interpreted modes selection of BATT-MAN 2 Click driver.
#define BATTMAN2_IMON_DISCHG_SCALE_103_4_mA 0x03 |
#define BATTMAN2_IMON_DISCHG_SCALE_134_1_mA 0x04 |
#define BATTMAN2_IMON_DISCHG_SCALE_164_1_mA 0x05 |
#define BATTMAN2_IMON_DISCHG_SCALE_193_7_mA 0x06 |
#define BATTMAN2_IMON_DISCHG_SCALE_222_7_mA 0x07 |
#define BATTMAN2_IMON_DISCHG_SCALE_251_2_mA 0x08 |
#define BATTMAN2_IMON_DISCHG_SCALE_279_3_mA 0x09 |
#define BATTMAN2_IMON_DISCHG_SCALE_300_mA 0x0A |
#define BATTMAN2_IMON_DISCHG_SCALE_40_5_mA 0x01 |
#define BATTMAN2_IMON_DISCHG_SCALE_72_3_mA 0x02 |
#define BATTMAN2_IMON_DISCHG_SCALE_8_2_mA 0x00 |
BATT-MAN 2 CHGIN in battery discharge current fullscale current setting.
Specified setting for device battery discharge current fullscale current selection of BATT-MAN 2 Click driver.
#define BATTMAN2_MUX_SEL_AGND_VOLTAGE_MONITOR 0x09 |
#define BATTMAN2_MUX_SEL_BATT_CHARGE_CURRENT_MONITOR 0x04 |
#define BATTMAN2_MUX_SEL_BATT_DISCHARGE_CURRENT_NORMAL 0x05 |
#define BATTMAN2_MUX_SEL_BATT_DISCHARGE_CURRENT_NULLING 0x06 |
#define BATTMAN2_MUX_SEL_BATT_VOLTAGE_MONITOR 0x03 |
#define BATTMAN2_MUX_SEL_CHGIN_CURRENT_MONITOR 0x02 |
#define BATTMAN2_MUX_SEL_CHGIN_VOLTAGE_MONITOR 0x01 |
#define BATTMAN2_MUX_SEL_MULTIPLEXER_DISABLED 0x00 |
BATT-MAN 2 analog channel to connect setting.
Specified setting for device analog channel to connect selection of BATT-MAN 2 Click driver.
#define BATTMAN2_MUX_SEL_SYS_VOLTAGE_MONITOR 0x0A |
#define BATTMAN2_MUX_SEL_TBIAS_VOLTAGE_MONITOR 0x08 |
#define BATTMAN2_MUX_SEL_THM_VOLTAGE_MONITOR 0x07 |
#define BATTMAN2_OP_MODE_BUCK 0x01 |
#define BATTMAN2_OP_MODE_BUCK_AND_BOOST 0x00 |
BATT-MAN 2 Operation Mode of SBB0 setting.
Specified setting for device CHGIN in Operation Mode of selection of BATT-MAN 2 Click driver.
#define BATTMAN2_PIN_STATE_OFF 0x00 |
#define BATTMAN2_PIN_STATE_ON 0x01 |
#define BATTMAN2_SBB_CH_0 0x00 |
BATT-MAN 2 SBB Channel selection.
Specified setting for device SBB Channel selection of BATT-MAN 2 Click driver.
#define BATTMAN2_SBB_CH_1 0x01 |
#define BATTMAN2_SBB_CH_2 0x02 |
#define BATTMAN2_SEL_ALT_GPIO_A_OUTPUT_SBB2 0x20 |
#define BATTMAN2_SEL_ALT_GPIO_STANDARD 0x00 |
BATT-MAN 2 GPIO configuration.
Specified configuration for device GPIO of BATT-MAN 2 Click driver.
#define BATTMAN2_SEL_LED_BLUE 0x02 |
#define BATTMAN2_SEL_LED_RED 0x00 |
BATT-MAN 2 description setting.
Specified setting for description of BATT-MAN 2 Click driver.
BATT-MAN 2 GPIO selection.
Specified for device GPIO selection of BATT-MAN 2 Click driver.
#define BATTMAN2_SEL_LED_YELLOW 0x01 |
#define BATTMAN2_SET_CHARGER_DISABLE 0x00 |
#define BATTMAN2_SET_CHARGER_ENABLE 0x01 |
#define BATTMAN2_SET_DEV_ADDR 0x48 |
BATT-MAN 2 device address setting.
Specified setting for device slave address selection of BATT-MAN 2 Click driver.
#define BATTMAN2_T_FAST_CHG_TIMER_3_HOURS 0x01 |
#define BATTMAN2_T_FAST_CHG_TIMER_5_HOURS 0x02 |
#define BATTMAN2_T_FAST_CHG_TIMER_7_HOURS 0x03 |
#define BATTMAN2_T_FAST_CHG_TIMER_DISABLED 0x00 |
BATT-MAN 2 fast-charge safety timer setting.
Specified setting for device fast-charge safety timer selection of BATT-MAN 2 Click driver.
#define BATTMAN2_T_TOPOFF_0_MIN 0x00 |
BATT-MAN 2 Top-Off Timer Value setting.
Specified setting for device Top-Off Timer Value selection of BATT-MAN 2 Click driver.
#define BATTMAN2_T_TOPOFF_10_MIN 0x02 |
#define BATTMAN2_T_TOPOFF_15_MIN 0x03 |
#define BATTMAN2_T_TOPOFF_20_MIN 0x04 |
#define BATTMAN2_T_TOPOFF_25_MIN 0x05 |
#define BATTMAN2_T_TOPOFF_30_MIN 0x06 |
#define BATTMAN2_T_TOPOFF_35_MIN 0x07 |
#define BATTMAN2_T_TOPOFF_5_MIN 0x01 |
#define BATTMAN2_THM_COLD_1024_mV 0x00 |
#define BATTMAN2_THM_COLD_867_mV 0x03 |
#define BATTMAN2_THM_COLD_923_mV 0x02 |
#define BATTMAN2_THM_COLD_976_mV 0x01 |
#define BATTMAN2_THM_COOL_747_mV 0x03 |
#define BATTMAN2_THM_COOL_807_mV 0x02 |
#define BATTMAN2_THM_COOL_867_mV 0x01 |
#define BATTMAN2_THM_COOL_923_mV 0x00 |
#define BATTMAN2_THM_EN_THERMISTOR_DISABLED 0x00 |
BATT-MAN 2 Thermistor Enable setting.
Specified setting for device Thermistor Enable of BATT-MAN 2 Click driver.
#define BATTMAN2_THM_EN_THERMISTOR_ENABLED 0x01 |
#define BATTMAN2_THM_HOT_291_mV 0x03 |
#define BATTMAN2_THM_HOT_327_mV 0x02 |
#define BATTMAN2_THM_HOT_367_mV 0x01 |
#define BATTMAN2_THM_HOT_411_mV 0x00 |
BATT-MAN 2 JEITA Temperature Threshold setting.
Specified setting for device JEITA Temperature Threshold selection of BATT-MAN 2 Click driver.
#define BATTMAN2_THM_WARM_367_mV 0x03 |
#define BATTMAN2_THM_WARM_411_mV 0x02 |
#define BATTMAN2_THM_WARM_459_mV 0x01 |
#define BATTMAN2_THM_WARM_511_mV 0x00 |
#define BATTMAN2_TJ_REG_100_C 0x04 |
#define BATTMAN2_TJ_REG_60_C 0x00 |
BATT-MAN 2 die junction temperature regulation point setting.
Specified setting for device die junction temperature regulation point selection of BATT-MAN 2 Click driver.
#define BATTMAN2_TJ_REG_70_C 0x01 |
#define BATTMAN2_TJ_REG_80_C 0x02 |
#define BATTMAN2_TJ_REG_90_C 0x03 |
#define BATTMAN2_USBS_CHGIN_IS_NOT_SUSPENDED 0x00 |
BATT-MAN 2 CHGIN in USB suspend mode setting.
Specified setting for device places CHGIN in USB suspend mode selection of BATT-MAN 2 Click driver.
#define BATTMAN2_USBS_CHGIN_IS_SUSPENDED 0x01 |