ledflash3 2.1.0.0
LED Flash 3 Registers Settings

Settings for registers of LED Flash 3 Click driver. More...

Macros

#define LEDFLASH3_LVP_ENABLE   0x10
 LED Flash 3 description setting.
 
#define LEDFLASH3_STROBE_LEVEL   0x00
 
#define LEDFLASH3_STROBE_EDGE   0x08
 
#define LEDFLASH3_STROBE_PIN_ENABLE   0x04
 
#define LEDFLASH3_MODE_FLASH   0x03
 
#define LEDFLASH3_MODE_TORCH   0x02
 
#define LEDFLASH3_MODE_IR   0x01
 
#define LEDFLASH3_MODE_STANDBY   0x00
 
#define LEDFLASH3_LVP_THRESHOLD_2V9   0x00
 LED Flash 3 Configuration register setting.
 
#define LEDFLASH3_LVP_THRESHOLD_3V   0x02
 
#define LEDFLASH3_LVP_THRESHOLD_3V1   0x04
 
#define LEDFLASH3_LVP_THRESHOLD_3V2   0x06
 
#define LEDFLASH3_LVP_THRESHOLD_3V3   0x08
 
#define LEDFLASH3_LVP_THRESHOLD_3V4   0x0A
 
#define LEDFLASH3_LVP_THRESHOLD_3V5   0x0C
 
#define LEDFLASH3_LVP_THRESHOLD_3V6   0x0E
 
#define LEDFLASH3_TIME_OUT_40MS   0x00
 
#define LEDFLASH3_TIME_OUT_80MS   0x02
 
#define LEDFLASH3_TIME_OUT_120MS   0x04
 
#define LEDFLASH3_TIME_OUT_160MS   0x06
 
#define LEDFLASH3_TIME_OUT_200MS   0x08
 
#define LEDFLASH3_TIME_OUT_240MS   0x0A
 
#define LEDFLASH3_TIME_OUT_280MS   0x0C
 
#define LEDFLASH3_TIME_OUT_320MS   0x0E
 
#define LEDFLASH3_TIME_OUT_360MS   0x10
 
#define LEDFLASH3_TIME_OUT_400MS   0x12
 
#define LEDFLASH3_TIME_OUT_600MS   0x14
 
#define LEDFLASH3_TIME_OUT_800MS   0x16
 
#define LEDFLASH3_TIME_OUT_1000MS   0x18
 
#define LEDFLASH3_TIME_OUT_1200MS   0x1A
 
#define LEDFLASH3_TIME_OUT_1400MS   0x1C
 
#define LEDFLASH3_TIME_OUT_1600MS   0x1E
 
#define LEDFLASH3_TORCH_RAMP_TIME_1MS   0x01
 
#define LEDFLASH3_LVP_FAULT_MASK   0x40
 LED Flash 3 Fault register setting.
 
#define LEDFLASH3_LED_SHORT_FAULT_MASK   0x20
 
#define LEDFLASH3_THERMAL_SHDN_MASK   0x04
 
#define LEDFLASH3_THERMAL_SHDN_MASK   0x04
 
#define LEDFLASH3_OVLO_FAULT_MASK   0x02
 
#define LEDFLASH3_FLASH_TIMEOUT_MASK   0x01
 
#define LEDFLASH3_SW_RESET_MASK   0x80
 LED Flash 3 software reset.
 
#define LEDFLASH3_TORCH_CURRENT_MAX   376.0f
 LED Flash 3 Fault register setting.
 
#define LEDFLASH3_TORCH_CURRENT_MIN   2.94f
 
#define LEDFLASH3_FLASH_CURRENT_MAX   1500.0f
 
#define LEDFLASH3_FLASH_CURRENT_MIN   11.72f
 
#define LEDFLASH3_ROUND_TO_NEAR_INT   0.5f
 
#define LEDFLASH3_DEVICE_ADDRESS   0x64
 LED Flash 3 device address setting.
 

Detailed Description

Settings for registers of LED Flash 3 Click driver.

Macro Definition Documentation

◆ LEDFLASH3_DEVICE_ADDRESS

#define LEDFLASH3_DEVICE_ADDRESS   0x64

LED Flash 3 device address setting.

Specified setting for device slave address selection of LED Flash 3 Click driver.

◆ LEDFLASH3_FLASH_CURRENT_MAX

#define LEDFLASH3_FLASH_CURRENT_MAX   1500.0f

◆ LEDFLASH3_FLASH_CURRENT_MIN

#define LEDFLASH3_FLASH_CURRENT_MIN   11.72f

◆ LEDFLASH3_FLASH_TIMEOUT_MASK

#define LEDFLASH3_FLASH_TIMEOUT_MASK   0x01

◆ LEDFLASH3_LED_SHORT_FAULT_MASK

#define LEDFLASH3_LED_SHORT_FAULT_MASK   0x20

◆ LEDFLASH3_LVP_ENABLE

#define LEDFLASH3_LVP_ENABLE   0x10

LED Flash 3 description setting.

Specified setting for description of LED Flash 3 Click driver.

◆ LEDFLASH3_LVP_FAULT_MASK

#define LEDFLASH3_LVP_FAULT_MASK   0x40

LED Flash 3 Fault register setting.

Specified setting for fault register of LED Flash 3 Click driver.

◆ LEDFLASH3_LVP_THRESHOLD_2V9

#define LEDFLASH3_LVP_THRESHOLD_2V9   0x00

LED Flash 3 Configuration register setting.

Specified setting for configuration register of LED Flash 3 Click driver.

◆ LEDFLASH3_LVP_THRESHOLD_3V

#define LEDFLASH3_LVP_THRESHOLD_3V   0x02

◆ LEDFLASH3_LVP_THRESHOLD_3V1

#define LEDFLASH3_LVP_THRESHOLD_3V1   0x04

◆ LEDFLASH3_LVP_THRESHOLD_3V2

#define LEDFLASH3_LVP_THRESHOLD_3V2   0x06

◆ LEDFLASH3_LVP_THRESHOLD_3V3

#define LEDFLASH3_LVP_THRESHOLD_3V3   0x08

◆ LEDFLASH3_LVP_THRESHOLD_3V4

#define LEDFLASH3_LVP_THRESHOLD_3V4   0x0A

◆ LEDFLASH3_LVP_THRESHOLD_3V5

#define LEDFLASH3_LVP_THRESHOLD_3V5   0x0C

◆ LEDFLASH3_LVP_THRESHOLD_3V6

#define LEDFLASH3_LVP_THRESHOLD_3V6   0x0E

◆ LEDFLASH3_MODE_FLASH

#define LEDFLASH3_MODE_FLASH   0x03

◆ LEDFLASH3_MODE_IR

#define LEDFLASH3_MODE_IR   0x01

◆ LEDFLASH3_MODE_STANDBY

#define LEDFLASH3_MODE_STANDBY   0x00

◆ LEDFLASH3_MODE_TORCH

#define LEDFLASH3_MODE_TORCH   0x02

◆ LEDFLASH3_OVLO_FAULT_MASK

#define LEDFLASH3_OVLO_FAULT_MASK   0x02

◆ LEDFLASH3_ROUND_TO_NEAR_INT

#define LEDFLASH3_ROUND_TO_NEAR_INT   0.5f

◆ LEDFLASH3_STROBE_EDGE

#define LEDFLASH3_STROBE_EDGE   0x08

◆ LEDFLASH3_STROBE_LEVEL

#define LEDFLASH3_STROBE_LEVEL   0x00

◆ LEDFLASH3_STROBE_PIN_ENABLE

#define LEDFLASH3_STROBE_PIN_ENABLE   0x04

◆ LEDFLASH3_SW_RESET_MASK

#define LEDFLASH3_SW_RESET_MASK   0x80

LED Flash 3 software reset.

Specified software reset command of LED Flash 3 Click driver.

◆ LEDFLASH3_THERMAL_SHDN_MASK [1/2]

#define LEDFLASH3_THERMAL_SHDN_MASK   0x04

◆ LEDFLASH3_THERMAL_SHDN_MASK [2/2]

#define LEDFLASH3_THERMAL_SHDN_MASK   0x04

◆ LEDFLASH3_TIME_OUT_1000MS

#define LEDFLASH3_TIME_OUT_1000MS   0x18

◆ LEDFLASH3_TIME_OUT_1200MS

#define LEDFLASH3_TIME_OUT_1200MS   0x1A

◆ LEDFLASH3_TIME_OUT_120MS

#define LEDFLASH3_TIME_OUT_120MS   0x04

◆ LEDFLASH3_TIME_OUT_1400MS

#define LEDFLASH3_TIME_OUT_1400MS   0x1C

◆ LEDFLASH3_TIME_OUT_1600MS

#define LEDFLASH3_TIME_OUT_1600MS   0x1E

◆ LEDFLASH3_TIME_OUT_160MS

#define LEDFLASH3_TIME_OUT_160MS   0x06

◆ LEDFLASH3_TIME_OUT_200MS

#define LEDFLASH3_TIME_OUT_200MS   0x08

◆ LEDFLASH3_TIME_OUT_240MS

#define LEDFLASH3_TIME_OUT_240MS   0x0A

◆ LEDFLASH3_TIME_OUT_280MS

#define LEDFLASH3_TIME_OUT_280MS   0x0C

◆ LEDFLASH3_TIME_OUT_320MS

#define LEDFLASH3_TIME_OUT_320MS   0x0E

◆ LEDFLASH3_TIME_OUT_360MS

#define LEDFLASH3_TIME_OUT_360MS   0x10

◆ LEDFLASH3_TIME_OUT_400MS

#define LEDFLASH3_TIME_OUT_400MS   0x12

◆ LEDFLASH3_TIME_OUT_40MS

#define LEDFLASH3_TIME_OUT_40MS   0x00

◆ LEDFLASH3_TIME_OUT_600MS

#define LEDFLASH3_TIME_OUT_600MS   0x14

◆ LEDFLASH3_TIME_OUT_800MS

#define LEDFLASH3_TIME_OUT_800MS   0x16

◆ LEDFLASH3_TIME_OUT_80MS

#define LEDFLASH3_TIME_OUT_80MS   0x02

◆ LEDFLASH3_TORCH_CURRENT_MAX

#define LEDFLASH3_TORCH_CURRENT_MAX   376.0f

LED Flash 3 Fault register setting.

Specified setting for fault register of LED Flash 3 Click driver.

◆ LEDFLASH3_TORCH_CURRENT_MIN

#define LEDFLASH3_TORCH_CURRENT_MIN   2.94f

◆ LEDFLASH3_TORCH_RAMP_TIME_1MS

#define LEDFLASH3_TORCH_RAMP_TIME_1MS   0x01