leddriver19 2.1.0.0
LED Driver 19 Registers Settings

Settings for registers of LED Driver 19 Click driver. More...

Macros

#define LEDDRIVER19_DEVICE_ID   0x12
 LED Driver 19 description setting.
 
#define LEDDRIVER19_PIN_STATE_HIGH   0x01
 LED Driver 19 pin state setting.
 
#define LEDDRIVER19_PIN_STATE_LOW   0x00
 
#define LEDDRIVER19_SW_RESET   0x80
 LED Driver 19 device state setting.
 
#define LEDDRIVER19_ENABLE   0x01
 
#define LEDDRIVER19_PATSEL_0   0x00
 LED Driver 19 pattern state setting.
 
#define LEDDRIVER19_PATSEL_1   0x01
 
#define LEDDRIVER19_PATSEL_2   0x02
 
#define LEDDRIVER19_PATSEL_3   0x03
 
#define LEDDRIVER19_PATSEL_4   0x04
 
#define LEDDRIVER19_PATSEL_5   0x05
 
#define LEDDRIVER19_PATSEL_6   0x06
 
#define LEDDRIVER19_PATSEL_7   0x07
 
#define LEDDRIVER19_CH_SEL_0   0x00
 LED Driver 19 channel enable setting.
 
#define LEDDRIVER19_CH_SEL_1   0x01
 
#define LEDDRIVER19_CH_SEL_2   0x02
 
#define LEDDRIVER19_CH_SEL_3   0x03
 
#define LEDDRIVER19_CH_SEL_4   0x04
 
#define LEDDRIVER19_CH_SEL_5   0x05
 
#define LEDDRIVER19_CH_SEL_6   0x06
 
#define LEDDRIVER19_CH_SEL_7   0x07
 
#define LEDDRIVER19_CH_SEL_8   0x08
 
#define LEDDRIVER19_CH_SEL_9   0x09
 
#define LEDDRIVER19_CH_SEL_10   0x0A
 
#define LEDDRIVER19_CH_SEL_11   0x0B
 
#define LEDDRIVER19_SHFT_EN   0x08
 LED Driver 19 config setting.
 
#define LEDDRIVER19_SHFT_DIS   0x00
 
#define LEDDRIVER19_GCTRL_EN   0x01
 
#define LEDDRIVER19_GCTRL_DIS   0x00
 
#define LEDDRIVER19_PATSR_RUNING   0x01
 
#define LEDDRIVER19_PATSR_DONE   0x00
 
#define LEDDRIVER19_PATS_EN   0x01
 
#define LEDDRIVER19_PATS_DIS   0x00
 
#define LEDDRIVER19_OVTP_MASK   0x01
 LED Driver 19 interrupt masks setting.
 
#define LEDDRIVER19_OPEN_MASK   0x02
 
#define LEDDRIVER19_PAT_MASK   0x04
 
#define LEDDRIVER19_SOF_MASK   0x08
 
#define LEDDRIVER19_OVTP   0x01
 LED Driver 19 interrupt flags setting.
 
#define LEDDRIVER19_OPEN   0x02
 
#define LEDDRIVER19_PAT   0x04
 
#define LEDDRIVER19_SOF   0x08
 
#define LEDDRIVER19_PATTERN_SEL_OFFSET   0x18
 LED Driver 19 pattern selection setting.
 
#define LEDDRIVER19_PWM_MASK   0x0FFFu
 LED Driver 19 PWM mask setting.
 
#define LEDDRIVER19_CS0_OPEN   0x0001u
 LED Driver 19 channel open state setting.
 
#define LEDDRIVER19_CS1_OPEN   0x0002u
 
#define LEDDRIVER19_CS2_OPEN   0x0004u
 
#define LEDDRIVER19_CS3_OPEN   0x0008u
 
#define LEDDRIVER19_CS4_OPEN   0x0010u
 
#define LEDDRIVER19_CS5_OPEN   0x0020u
 
#define LEDDRIVER19_CS6_OPEN   0x0040u
 
#define LEDDRIVER19_CS7_OPEN   0x0080u
 
#define LEDDRIVER19_CS8_OPEN   0x0100u
 
#define LEDDRIVER19_CS9_OPEN   0x0200u
 
#define LEDDRIVER19_CS10_OPEN   0x0400u
 
#define LEDDRIVER19_CS11_OPEN   0x0800u
 
#define LEDDRIVER19_CS0_ENABLE   0x0001u
 LED Driver 19 channel selection setting.
 
#define LEDDRIVER19_CS1_ENABLE   0x0002u
 
#define LEDDRIVER19_CS2_ENABLE   0x0004u
 
#define LEDDRIVER19_CS3_ENABLE   0x0008u
 
#define LEDDRIVER19_CS4_ENABLE   0x0010u
 
#define LEDDRIVER19_CS5_ENABLE   0x0020u
 
#define LEDDRIVER19_CS6_ENABLE   0x0040u
 
#define LEDDRIVER19_CS7_ENABLE   0x0080u
 
#define LEDDRIVER19_CS8_ENABLE   0x0100u
 
#define LEDDRIVER19_CS9_ENABLE   0x0200u
 
#define LEDDRIVER19_CS10_ENABLE   0x0400u
 
#define LEDDRIVER19_CS11_ENABLE   0x0800u
 
#define LEDDRIVER19_CS_ENABLE_ALL   0x0FFFu
 
#define LEDDRIVER19_PWM_VAL_CONVERSION   40.95f
 LED Driver 19 calculation setting.
 
#define LEDDRIVER19_CURRENT_STEP_TO_MA   0.07843f
 
#define LEDDRIVER19_CURRENT_STEP_TO_HEX   12.75f
 
#define LEDDRIVER19_DEVICE_ADDRESS_0   0x58
 LED Driver 19 device address setting.
 
#define LEDDRIVER19_DEVICE_ADDRESS_1   0x59
 
#define LEDDRIVER19_DEVICE_ADDRESS_2   0x5A
 
#define LEDDRIVER19_DEVICE_ADDRESS_3   0x5B
 

Detailed Description

Settings for registers of LED Driver 19 Click driver.

Macro Definition Documentation

◆ LEDDRIVER19_CH_SEL_0

#define LEDDRIVER19_CH_SEL_0   0x00

LED Driver 19 channel enable setting.

Specified setting for enabling channel of LED Driver 19 Click driver.

◆ LEDDRIVER19_CH_SEL_1

#define LEDDRIVER19_CH_SEL_1   0x01

◆ LEDDRIVER19_CH_SEL_10

#define LEDDRIVER19_CH_SEL_10   0x0A

◆ LEDDRIVER19_CH_SEL_11

#define LEDDRIVER19_CH_SEL_11   0x0B

◆ LEDDRIVER19_CH_SEL_2

#define LEDDRIVER19_CH_SEL_2   0x02

◆ LEDDRIVER19_CH_SEL_3

#define LEDDRIVER19_CH_SEL_3   0x03

◆ LEDDRIVER19_CH_SEL_4

#define LEDDRIVER19_CH_SEL_4   0x04

◆ LEDDRIVER19_CH_SEL_5

#define LEDDRIVER19_CH_SEL_5   0x05

◆ LEDDRIVER19_CH_SEL_6

#define LEDDRIVER19_CH_SEL_6   0x06

◆ LEDDRIVER19_CH_SEL_7

#define LEDDRIVER19_CH_SEL_7   0x07

◆ LEDDRIVER19_CH_SEL_8

#define LEDDRIVER19_CH_SEL_8   0x08

◆ LEDDRIVER19_CH_SEL_9

#define LEDDRIVER19_CH_SEL_9   0x09

◆ LEDDRIVER19_CS0_ENABLE

#define LEDDRIVER19_CS0_ENABLE   0x0001u

LED Driver 19 channel selection setting.

Specified setting for channel selection of LED Driver 19 Click driver.

◆ LEDDRIVER19_CS0_OPEN

#define LEDDRIVER19_CS0_OPEN   0x0001u

LED Driver 19 channel open state setting.

Specified setting for channel open state of LED Driver 19 Click driver.

◆ LEDDRIVER19_CS10_ENABLE

#define LEDDRIVER19_CS10_ENABLE   0x0400u

◆ LEDDRIVER19_CS10_OPEN

#define LEDDRIVER19_CS10_OPEN   0x0400u

◆ LEDDRIVER19_CS11_ENABLE

#define LEDDRIVER19_CS11_ENABLE   0x0800u

◆ LEDDRIVER19_CS11_OPEN

#define LEDDRIVER19_CS11_OPEN   0x0800u

◆ LEDDRIVER19_CS1_ENABLE

#define LEDDRIVER19_CS1_ENABLE   0x0002u

◆ LEDDRIVER19_CS1_OPEN

#define LEDDRIVER19_CS1_OPEN   0x0002u

◆ LEDDRIVER19_CS2_ENABLE

#define LEDDRIVER19_CS2_ENABLE   0x0004u

◆ LEDDRIVER19_CS2_OPEN

#define LEDDRIVER19_CS2_OPEN   0x0004u

◆ LEDDRIVER19_CS3_ENABLE

#define LEDDRIVER19_CS3_ENABLE   0x0008u

◆ LEDDRIVER19_CS3_OPEN

#define LEDDRIVER19_CS3_OPEN   0x0008u

◆ LEDDRIVER19_CS4_ENABLE

#define LEDDRIVER19_CS4_ENABLE   0x0010u

◆ LEDDRIVER19_CS4_OPEN

#define LEDDRIVER19_CS4_OPEN   0x0010u

◆ LEDDRIVER19_CS5_ENABLE

#define LEDDRIVER19_CS5_ENABLE   0x0020u

◆ LEDDRIVER19_CS5_OPEN

#define LEDDRIVER19_CS5_OPEN   0x0020u

◆ LEDDRIVER19_CS6_ENABLE

#define LEDDRIVER19_CS6_ENABLE   0x0040u

◆ LEDDRIVER19_CS6_OPEN

#define LEDDRIVER19_CS6_OPEN   0x0040u

◆ LEDDRIVER19_CS7_ENABLE

#define LEDDRIVER19_CS7_ENABLE   0x0080u

◆ LEDDRIVER19_CS7_OPEN

#define LEDDRIVER19_CS7_OPEN   0x0080u

◆ LEDDRIVER19_CS8_ENABLE

#define LEDDRIVER19_CS8_ENABLE   0x0100u

◆ LEDDRIVER19_CS8_OPEN

#define LEDDRIVER19_CS8_OPEN   0x0100u

◆ LEDDRIVER19_CS9_ENABLE

#define LEDDRIVER19_CS9_ENABLE   0x0200u

◆ LEDDRIVER19_CS9_OPEN

#define LEDDRIVER19_CS9_OPEN   0x0200u

◆ LEDDRIVER19_CS_ENABLE_ALL

#define LEDDRIVER19_CS_ENABLE_ALL   0x0FFFu

◆ LEDDRIVER19_CURRENT_STEP_TO_HEX

#define LEDDRIVER19_CURRENT_STEP_TO_HEX   12.75f

◆ LEDDRIVER19_CURRENT_STEP_TO_MA

#define LEDDRIVER19_CURRENT_STEP_TO_MA   0.07843f

◆ LEDDRIVER19_DEVICE_ADDRESS_0

#define LEDDRIVER19_DEVICE_ADDRESS_0   0x58

LED Driver 19 device address setting.

Specified setting for device slave address selection of LED Driver 19 Click driver.

◆ LEDDRIVER19_DEVICE_ADDRESS_1

#define LEDDRIVER19_DEVICE_ADDRESS_1   0x59

◆ LEDDRIVER19_DEVICE_ADDRESS_2

#define LEDDRIVER19_DEVICE_ADDRESS_2   0x5A

◆ LEDDRIVER19_DEVICE_ADDRESS_3

#define LEDDRIVER19_DEVICE_ADDRESS_3   0x5B

◆ LEDDRIVER19_DEVICE_ID

#define LEDDRIVER19_DEVICE_ID   0x12

LED Driver 19 description setting.

Specified setting for description of LED Driver 19 Click driver.

◆ LEDDRIVER19_ENABLE

#define LEDDRIVER19_ENABLE   0x01

◆ LEDDRIVER19_GCTRL_DIS

#define LEDDRIVER19_GCTRL_DIS   0x00

◆ LEDDRIVER19_GCTRL_EN

#define LEDDRIVER19_GCTRL_EN   0x01

◆ LEDDRIVER19_OPEN

#define LEDDRIVER19_OPEN   0x02

◆ LEDDRIVER19_OPEN_MASK

#define LEDDRIVER19_OPEN_MASK   0x02

◆ LEDDRIVER19_OVTP

#define LEDDRIVER19_OVTP   0x01

LED Driver 19 interrupt flags setting.

Specified setting for interrupt flags of LED Driver 19 Click driver.

◆ LEDDRIVER19_OVTP_MASK

#define LEDDRIVER19_OVTP_MASK   0x01

LED Driver 19 interrupt masks setting.

Specified setting for interrupt masks of LED Driver 19 Click driver.

◆ LEDDRIVER19_PAT

#define LEDDRIVER19_PAT   0x04

◆ LEDDRIVER19_PAT_MASK

#define LEDDRIVER19_PAT_MASK   0x04

◆ LEDDRIVER19_PATS_DIS

#define LEDDRIVER19_PATS_DIS   0x00

◆ LEDDRIVER19_PATS_EN

#define LEDDRIVER19_PATS_EN   0x01

◆ LEDDRIVER19_PATSEL_0

#define LEDDRIVER19_PATSEL_0   0x00

LED Driver 19 pattern state setting.

Specified setting for pattern state of LED Driver 19 Click driver.

◆ LEDDRIVER19_PATSEL_1

#define LEDDRIVER19_PATSEL_1   0x01

◆ LEDDRIVER19_PATSEL_2

#define LEDDRIVER19_PATSEL_2   0x02

◆ LEDDRIVER19_PATSEL_3

#define LEDDRIVER19_PATSEL_3   0x03

◆ LEDDRIVER19_PATSEL_4

#define LEDDRIVER19_PATSEL_4   0x04

◆ LEDDRIVER19_PATSEL_5

#define LEDDRIVER19_PATSEL_5   0x05

◆ LEDDRIVER19_PATSEL_6

#define LEDDRIVER19_PATSEL_6   0x06

◆ LEDDRIVER19_PATSEL_7

#define LEDDRIVER19_PATSEL_7   0x07

◆ LEDDRIVER19_PATSR_DONE

#define LEDDRIVER19_PATSR_DONE   0x00

◆ LEDDRIVER19_PATSR_RUNING

#define LEDDRIVER19_PATSR_RUNING   0x01

◆ LEDDRIVER19_PATTERN_SEL_OFFSET

#define LEDDRIVER19_PATTERN_SEL_OFFSET   0x18

LED Driver 19 pattern selection setting.

Specified setting for pattern selection of LED Driver 19 Click driver.

◆ LEDDRIVER19_PIN_STATE_HIGH

#define LEDDRIVER19_PIN_STATE_HIGH   0x01

LED Driver 19 pin state setting.

Specified setting for pin state of LED Driver 19 Click driver.

◆ LEDDRIVER19_PIN_STATE_LOW

#define LEDDRIVER19_PIN_STATE_LOW   0x00

◆ LEDDRIVER19_PWM_MASK

#define LEDDRIVER19_PWM_MASK   0x0FFFu

LED Driver 19 PWM mask setting.

Specified setting for PWM mask of LED Driver 19 Click driver.

◆ LEDDRIVER19_PWM_VAL_CONVERSION

#define LEDDRIVER19_PWM_VAL_CONVERSION   40.95f

LED Driver 19 calculation setting.

Specified setting for calculation selection of LED Driver 19 Click driver.

◆ LEDDRIVER19_SHFT_DIS

#define LEDDRIVER19_SHFT_DIS   0x00

◆ LEDDRIVER19_SHFT_EN

#define LEDDRIVER19_SHFT_EN   0x08

LED Driver 19 config setting.

Specified setting for config of LED Driver 19 Click driver.

◆ LEDDRIVER19_SOF

#define LEDDRIVER19_SOF   0x08

◆ LEDDRIVER19_SOF_MASK

#define LEDDRIVER19_SOF_MASK   0x08

◆ LEDDRIVER19_SW_RESET

#define LEDDRIVER19_SW_RESET   0x80

LED Driver 19 device state setting.

Specified setting for device state of LED Driver 19 Click driver.