| Linduino 1.3.0 Linear Technology Arduino-Compatible Demonstration Board

Macros
CHARGER_STATUS
Switching Regulators, Battery Chargers, and LED Drivers » LTC4155: Dual-Input Power Manager / 3.5A Li-Ion Battery Charger with I²C Control and USB OTG » LTC4155 Register Map Definitions

CHARGER_STATUS Bit Field. More...

## Macros
#define | LTC4155_CHARGER_STATUS_SUBADDR LTC4155_REG3_SUBADDR
| CHARGER_STATUS More...
#define | LTC4155_CHARGER_STATUS_SIZE 3
#define | LTC4155_CHARGER_STATUS_OFFSET 5
#define | LTC4155_CHARGER_STATUS_MASK 0xE0
#define | LTC4155_CHARGER_STATUS (LTC4155_CHARGER_STATUS_OFFSET << 12 | (LTC4155_CHARGER_STATUS_SIZE - 1) << 8 | LTC4155_CHARGER_STATUS_SUBADDR)
#define | LTC4155_CHARGER_STATUS_PRESET_CHARGER_OFF 0x0
#define | LTC4155_CHARGER_STATUS_PRESET_LOW_BAT 0x1
#define | LTC4155_CHARGER_STATUS_PRESET_CONSTANT_CURRENT 0x2
#define | LTC4155_CHARGER_STATUS_PRESET_CONSTANT_VOLTAGE_I_GREATER_THAN_COVERX 0x3
#define | LTC4155_CHARGER_STATUS_PRESET_CONSTANT_VOLTAGE_I_LESS_THAN_COVERX 0x4
#define | LTC4155_CHARGER_STATUS_PRESET_NTC_TOO_WARM_TO_CHARGE 0x5
#define | LTC4155_CHARGER_STATUS_PRESET_NTC_TOO_COLD_TO_CHARGE 0x6
#define | LTC4155_CHARGER_STATUS_PRESET_NTC_CRITICALLY_HOT 0x7

## Detailed Description

CHARGER_STATUS Bit Field.

Battery charger status.

- Register: REG3
- CommandCode: 0x03
- Size: 3
- Offset: 5
- MSB: 7
- MASK: 0xE0
- Access: R
- Default: n/a

## Macro Definition Documentation

## ◆ LTC4155_CHARGER_STATUS

#define LTC4155_CHARGER_STATUS (LTC4155_CHARGER_STATUS_OFFSET << 12 | (LTC4155_CHARGER_STATUS_SIZE - 1) << 8 | LTC4155_CHARGER_STATUS_SUBADDR)

Definition at line 453 of file LTC4155_reg_defs.h.

## ◆ LTC4155_CHARGER_STATUS_MASK

#define LTC4155_CHARGER_STATUS_MASK 0xE0

Definition at line 452 of file LTC4155_reg_defs.h.

## ◆ LTC4155_CHARGER_STATUS_OFFSET

#define LTC4155_CHARGER_STATUS_OFFSET 5

Definition at line 451 of file LTC4155_reg_defs.h.

## ◆ LTC4155_CHARGER_STATUS_PRESET_CHARGER_OFF

#define LTC4155_CHARGER_STATUS_PRESET_CHARGER_OFF 0x0

Definition at line 454 of file LTC4155_reg_defs.h.

## ◆ LTC4155_CHARGER_STATUS_PRESET_CONSTANT_CURRENT

#define LTC4155_CHARGER_STATUS_PRESET_CONSTANT_CURRENT 0x2

Definition at line 456 of file LTC4155_reg_defs.h.

## ◆ LTC4155_CHARGER_STATUS_PRESET_CONSTANT_VOLTAGE_I_GREATER_THAN_COVERX

#define LTC4155_CHARGER_STATUS_PRESET_CONSTANT_VOLTAGE_I_GREATER_THAN_COVERX 0x3

Definition at line 457 of file LTC4155_reg_defs.h.

## ◆ LTC4155_CHARGER_STATUS_PRESET_CONSTANT_VOLTAGE_I_LESS_THAN_COVERX

#define LTC4155_CHARGER_STATUS_PRESET_CONSTANT_VOLTAGE_I_LESS_THAN_COVERX 0x4

Definition at line 458 of file LTC4155_reg_defs.h.

## ◆ LTC4155_CHARGER_STATUS_PRESET_LOW_BAT

#define LTC4155_CHARGER_STATUS_PRESET_LOW_BAT 0x1

Definition at line 455 of file LTC4155_reg_defs.h.

## ◆ LTC4155_CHARGER_STATUS_PRESET_NTC_CRITICALLY_HOT

#define LTC4155_CHARGER_STATUS_PRESET_NTC_CRITICALLY_HOT 0x7

Definition at line 461 of file LTC4155_reg_defs.h.

## ◆ LTC4155_CHARGER_STATUS_PRESET_NTC_TOO_COLD_TO_CHARGE

#define LTC4155_CHARGER_STATUS_PRESET_NTC_TOO_COLD_TO_CHARGE 0x6

Definition at line 460 of file LTC4155_reg_defs.h.

## ◆ LTC4155_CHARGER_STATUS_PRESET_NTC_TOO_WARM_TO_CHARGE

#define LTC4155_CHARGER_STATUS_PRESET_NTC_TOO_WARM_TO_CHARGE 0x5

Definition at line 459 of file LTC4155_reg_defs.h.

## ◆ LTC4155_CHARGER_STATUS_SIZE

#define LTC4155_CHARGER_STATUS_SIZE 3

Definition at line 450 of file LTC4155_reg_defs.h.

## ◆ LTC4155_CHARGER_STATUS_SUBADDR

#define LTC4155_CHARGER_STATUS_SUBADDR LTC4155_REG3_SUBADDR

CHARGER_STATUS

Definition at line 449 of file LTC4155_reg_defs.h.