leddriver12 2.0.0.0
LED Driver 12 Registers Settings

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

Macros

#define LEDDRIVER12_AUTO_INCREMENT_BIT   0x10
 LED Driver 12 Control register setting.
 
#define LEDDRIVER12_LED_OFF   0x00
 LED Driver 12 LED Selector registers setting.
 
#define LEDDRIVER12_LED_ON   0x01
 
#define LEDDRIVER12_LED_PWM0   0x02
 
#define LEDDRIVER12_LED_PWM1   0x03
 
#define LEDDRIVER12_LED0   0x00
 
#define LEDDRIVER12_LED1   0x01
 
#define LEDDRIVER12_LED2   0x02
 
#define LEDDRIVER12_LED3   0x03
 
#define LEDDRIVER12_LED4   0x04
 
#define LEDDRIVER12_LED5   0x05
 
#define LEDDRIVER12_LED6   0x06
 
#define LEDDRIVER12_LED7   0x07
 
#define LEDDRIVER12_LED8   0x08
 
#define LEDDRIVER12_LED9   0x09
 
#define LEDDRIVER12_LED10   0x0A
 
#define LEDDRIVER12_LED11   0x0B
 
#define LEDDRIVER12_LED12   0x0C
 
#define LEDDRIVER12_LED13   0x0D
 
#define LEDDRIVER12_LED14   0x0E
 
#define LEDDRIVER12_LED15   0x0F
 
#define LEDDRIVER12_LED0_TO_3   0x00
 
#define LEDDRIVER12_LED4_TO_7   0x01
 
#define LEDDRIVER12_LED8_TO_11   0x02
 
#define LEDDRIVER12_LED12_TO_15   0x03
 
#define LEDDRIVER12_ALL_LEDS   0xFF
 
#define LEDDRIVER12_BLINK_PERIOD_MAX   1.68421
 LED Driver 12 PWM setting.
 
#define LEDDRIVER12_BLINK_PERIOD_MIN   0.00657
 
#define LEDDRIVER12_BLINK_PERIOD_ONE_SECOND   1.0
 
#define LEDDRIVER12_BLINK_PERIOD_HALF_SECOND   0.5
 
#define LEDDRIVER12_DUTY_CYCLE_MAX   0xFF
 
#define LEDDRIVER12_DUTY_CYCLE_HALF   0x80
 
#define LEDDRIVER12_DUTY_CYCLE_QUARTER   0x40
 
#define LEDDRIVER12_DUTY_CYCLE_MIN   0x00
 
#define LEDDRIVER12_DEV_ADDR_A2A1A0_000   0x60
 LED Driver 12 device address setting.
 
#define LEDDRIVER12_DEV_ADDR_A2A1A0_001   0x61
 
#define LEDDRIVER12_DEV_ADDR_A2A1A0_010   0x62
 
#define LEDDRIVER12_DEV_ADDR_A2A1A0_011   0x63
 
#define LEDDRIVER12_DEV_ADDR_A2A1A0_100   0x64
 
#define LEDDRIVER12_DEV_ADDR_A2A1A0_101   0x65
 
#define LEDDRIVER12_DEV_ADDR_A2A1A0_110   0x66
 
#define LEDDRIVER12_DEV_ADDR_A2A1A0_111   0x67
 

Detailed Description

Settings for registers of LED Driver 12 Click driver.

Macro Definition Documentation

◆ LEDDRIVER12_ALL_LEDS

#define LEDDRIVER12_ALL_LEDS   0xFF

◆ LEDDRIVER12_AUTO_INCREMENT_BIT

#define LEDDRIVER12_AUTO_INCREMENT_BIT   0x10

LED Driver 12 Control register setting.

Specified setting for Control register of LED Driver 12 Click driver.

◆ LEDDRIVER12_BLINK_PERIOD_HALF_SECOND

#define LEDDRIVER12_BLINK_PERIOD_HALF_SECOND   0.5

◆ LEDDRIVER12_BLINK_PERIOD_MAX

#define LEDDRIVER12_BLINK_PERIOD_MAX   1.68421

LED Driver 12 PWM setting.

Specified setting for PWMregisters of LED Driver 12 Click driver.

◆ LEDDRIVER12_BLINK_PERIOD_MIN

#define LEDDRIVER12_BLINK_PERIOD_MIN   0.00657

◆ LEDDRIVER12_BLINK_PERIOD_ONE_SECOND

#define LEDDRIVER12_BLINK_PERIOD_ONE_SECOND   1.0

◆ LEDDRIVER12_DEV_ADDR_A2A1A0_000

#define LEDDRIVER12_DEV_ADDR_A2A1A0_000   0x60

LED Driver 12 device address setting.

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

◆ LEDDRIVER12_DEV_ADDR_A2A1A0_001

#define LEDDRIVER12_DEV_ADDR_A2A1A0_001   0x61

◆ LEDDRIVER12_DEV_ADDR_A2A1A0_010

#define LEDDRIVER12_DEV_ADDR_A2A1A0_010   0x62

◆ LEDDRIVER12_DEV_ADDR_A2A1A0_011

#define LEDDRIVER12_DEV_ADDR_A2A1A0_011   0x63

◆ LEDDRIVER12_DEV_ADDR_A2A1A0_100

#define LEDDRIVER12_DEV_ADDR_A2A1A0_100   0x64

◆ LEDDRIVER12_DEV_ADDR_A2A1A0_101

#define LEDDRIVER12_DEV_ADDR_A2A1A0_101   0x65

◆ LEDDRIVER12_DEV_ADDR_A2A1A0_110

#define LEDDRIVER12_DEV_ADDR_A2A1A0_110   0x66

◆ LEDDRIVER12_DEV_ADDR_A2A1A0_111

#define LEDDRIVER12_DEV_ADDR_A2A1A0_111   0x67

◆ LEDDRIVER12_DUTY_CYCLE_HALF

#define LEDDRIVER12_DUTY_CYCLE_HALF   0x80

◆ LEDDRIVER12_DUTY_CYCLE_MAX

#define LEDDRIVER12_DUTY_CYCLE_MAX   0xFF

◆ LEDDRIVER12_DUTY_CYCLE_MIN

#define LEDDRIVER12_DUTY_CYCLE_MIN   0x00

◆ LEDDRIVER12_DUTY_CYCLE_QUARTER

#define LEDDRIVER12_DUTY_CYCLE_QUARTER   0x40

◆ LEDDRIVER12_LED0

#define LEDDRIVER12_LED0   0x00

◆ LEDDRIVER12_LED0_TO_3

#define LEDDRIVER12_LED0_TO_3   0x00

◆ LEDDRIVER12_LED1

#define LEDDRIVER12_LED1   0x01

◆ LEDDRIVER12_LED10

#define LEDDRIVER12_LED10   0x0A

◆ LEDDRIVER12_LED11

#define LEDDRIVER12_LED11   0x0B

◆ LEDDRIVER12_LED12

#define LEDDRIVER12_LED12   0x0C

◆ LEDDRIVER12_LED12_TO_15

#define LEDDRIVER12_LED12_TO_15   0x03

◆ LEDDRIVER12_LED13

#define LEDDRIVER12_LED13   0x0D

◆ LEDDRIVER12_LED14

#define LEDDRIVER12_LED14   0x0E

◆ LEDDRIVER12_LED15

#define LEDDRIVER12_LED15   0x0F

◆ LEDDRIVER12_LED2

#define LEDDRIVER12_LED2   0x02

◆ LEDDRIVER12_LED3

#define LEDDRIVER12_LED3   0x03

◆ LEDDRIVER12_LED4

#define LEDDRIVER12_LED4   0x04

◆ LEDDRIVER12_LED4_TO_7

#define LEDDRIVER12_LED4_TO_7   0x01

◆ LEDDRIVER12_LED5

#define LEDDRIVER12_LED5   0x05

◆ LEDDRIVER12_LED6

#define LEDDRIVER12_LED6   0x06

◆ LEDDRIVER12_LED7

#define LEDDRIVER12_LED7   0x07

◆ LEDDRIVER12_LED8

#define LEDDRIVER12_LED8   0x08

◆ LEDDRIVER12_LED8_TO_11

#define LEDDRIVER12_LED8_TO_11   0x02

◆ LEDDRIVER12_LED9

#define LEDDRIVER12_LED9   0x09

◆ LEDDRIVER12_LED_OFF

#define LEDDRIVER12_LED_OFF   0x00

LED Driver 12 LED Selector registers setting.

Specified setting for LED Selector registers of LED Driver 12 Click driver.

◆ LEDDRIVER12_LED_ON

#define LEDDRIVER12_LED_ON   0x01

◆ LEDDRIVER12_LED_PWM0

#define LEDDRIVER12_LED_PWM0   0x02

◆ LEDDRIVER12_LED_PWM1

#define LEDDRIVER12_LED_PWM1   0x03