Linduino  1.3.0
Linear Technology Arduino-Compatible Demonstration Board

PRIORITY Bit Field. More...

Macros

#define LTC4155_PRIORITY_SUBADDR   LTC4155_REG1_SUBADDR
 PRIORITY More...
 
#define LTC4155_PRIORITY_SIZE   1
 
#define LTC4155_PRIORITY_OFFSET   7
 
#define LTC4155_PRIORITY_MASK   0x80
 
#define LTC4155_PRIORITY   (LTC4155_PRIORITY_OFFSET << 12 | (LTC4155_PRIORITY_SIZE - 1) << 8 | LTC4155_PRIORITY_SUBADDR)
 
#define LTC4155_PRIORITY_PRESET_WALL   0x0
 
#define LTC4155_PRIORITY_PRESET_USB   0x1
 

Detailed Description

PRIORITY Bit Field.

Input connector priority swap setting. Setting PRIORITY will cause power to be drawn from USB when both WALL and USB power are present.

Macro Definition Documentation

◆ LTC4155_PRIORITY

#define LTC4155_PRIORITY   (LTC4155_PRIORITY_OFFSET << 12 | (LTC4155_PRIORITY_SIZE - 1) << 8 | LTC4155_PRIORITY_SUBADDR)

Definition at line 238 of file LTC4155_reg_defs.h.

◆ LTC4155_PRIORITY_MASK

#define LTC4155_PRIORITY_MASK   0x80

Definition at line 237 of file LTC4155_reg_defs.h.

◆ LTC4155_PRIORITY_OFFSET

#define LTC4155_PRIORITY_OFFSET   7

Definition at line 236 of file LTC4155_reg_defs.h.

◆ LTC4155_PRIORITY_PRESET_USB

#define LTC4155_PRIORITY_PRESET_USB   0x1

Definition at line 240 of file LTC4155_reg_defs.h.

◆ LTC4155_PRIORITY_PRESET_WALL

#define LTC4155_PRIORITY_PRESET_WALL   0x0

Definition at line 239 of file LTC4155_reg_defs.h.

◆ LTC4155_PRIORITY_SIZE

#define LTC4155_PRIORITY_SIZE   1

Definition at line 235 of file LTC4155_reg_defs.h.

◆ LTC4155_PRIORITY_SUBADDR

#define LTC4155_PRIORITY_SUBADDR   LTC4155_REG1_SUBADDR

PRIORITY

Definition at line 234 of file LTC4155_reg_defs.h.