| Linduino 1.3.0 Linear Technology Arduino-Compatible Demonstration Board

Macros
ICHARGE
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

ICHARGE Bit Field. More...

## Macros
#define | LTC4155_ICHARGE_SUBADDR LTC4155_REG2_SUBADDR
| ICHARGE More...
#define | LTC4155_ICHARGE_SIZE 4
#define | LTC4155_ICHARGE_OFFSET 4
#define | LTC4155_ICHARGE_MASK 0xF0
#define | LTC4155_ICHARGE (LTC4155_ICHARGE_OFFSET << 12 | (LTC4155_ICHARGE_SIZE - 1) << 8 | LTC4155_ICHARGE_SUBADDR)
#define | LTC4155_ICHARGE_PRESET_CHARGER_DISABLED 0x0
#define | LTC4155_ICHARGE_PRESET__12P50PCT 0x1
#define | LTC4155_ICHARGE_PRESET__18P75PCT 0x2
#define | LTC4155_ICHARGE_PRESET__25P00PCT 0x3
#define | LTC4155_ICHARGE_PRESET__31P25PCT 0x4
#define | LTC4155_ICHARGE_PRESET__37P50PCT 0x5
#define | LTC4155_ICHARGE_PRESET__43P75PCT 0x6
#define | LTC4155_ICHARGE_PRESET__50P00PCT 0x7
#define | LTC4155_ICHARGE_PRESET__56P25PCT 0x8
#define | LTC4155_ICHARGE_PRESET__62P50PCT 0x9
#define | LTC4155_ICHARGE_PRESET__68P75PCT 0xA
#define | LTC4155_ICHARGE_PRESET__75P00PCT 0xB
#define | LTC4155_ICHARGE_PRESET__81P25PCT 0xC
#define | LTC4155_ICHARGE_PRESET__87P50PCT 0xD
#define | LTC4155_ICHARGE_PRESET__93P75PCT 0xE
#define | LTC4155_ICHARGE_PRESET__100P0PCT 0xF

## Detailed Description

ICHARGE Bit Field.

Battery charger current limit setting.

- Register: REG2
- CommandCode: 0x02
- Size: 4
- Offset: 4
- MSB: 7
- MASK: 0xF0
- Access: R/W
- Default: 0xF

## Macro Definition Documentation

## ◆ LTC4155_ICHARGE

#define LTC4155_ICHARGE (LTC4155_ICHARGE_OFFSET << 12 | (LTC4155_ICHARGE_SIZE - 1) << 8 | LTC4155_ICHARGE_SUBADDR)

Definition at line 344 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_MASK

#define LTC4155_ICHARGE_MASK 0xF0

Definition at line 343 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_OFFSET

#define LTC4155_ICHARGE_OFFSET 4

Definition at line 342 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__100P0PCT

#define LTC4155_ICHARGE_PRESET__100P0PCT 0xF

Definition at line 360 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__12P50PCT

#define LTC4155_ICHARGE_PRESET__12P50PCT 0x1

Definition at line 346 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__18P75PCT

#define LTC4155_ICHARGE_PRESET__18P75PCT 0x2

Definition at line 347 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__25P00PCT

#define LTC4155_ICHARGE_PRESET__25P00PCT 0x3

Definition at line 348 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__31P25PCT

#define LTC4155_ICHARGE_PRESET__31P25PCT 0x4

Definition at line 349 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__37P50PCT

#define LTC4155_ICHARGE_PRESET__37P50PCT 0x5

Definition at line 350 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__43P75PCT

#define LTC4155_ICHARGE_PRESET__43P75PCT 0x6

Definition at line 351 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__50P00PCT

#define LTC4155_ICHARGE_PRESET__50P00PCT 0x7

Definition at line 352 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__56P25PCT

#define LTC4155_ICHARGE_PRESET__56P25PCT 0x8

Definition at line 353 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__62P50PCT

#define LTC4155_ICHARGE_PRESET__62P50PCT 0x9

Definition at line 354 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__68P75PCT

#define LTC4155_ICHARGE_PRESET__68P75PCT 0xA

Definition at line 355 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__75P00PCT

#define LTC4155_ICHARGE_PRESET__75P00PCT 0xB

Definition at line 356 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__81P25PCT

#define LTC4155_ICHARGE_PRESET__81P25PCT 0xC

Definition at line 357 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__87P50PCT

#define LTC4155_ICHARGE_PRESET__87P50PCT 0xD

Definition at line 358 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET__93P75PCT

#define LTC4155_ICHARGE_PRESET__93P75PCT 0xE

Definition at line 359 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_PRESET_CHARGER_DISABLED

#define LTC4155_ICHARGE_PRESET_CHARGER_DISABLED 0x0

Definition at line 345 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_SIZE

#define LTC4155_ICHARGE_SIZE 4

Definition at line 341 of file LTC4155_reg_defs.h.

## ◆ LTC4155_ICHARGE_SUBADDR

#define LTC4155_ICHARGE_SUBADDR LTC4155_REG2_SUBADDR

ICHARGE

Definition at line 340 of file LTC4155_reg_defs.h.