leddriver9 2.0.0.0
leddriver9_mode_reg_t Struct Reference

LED Driver 9 Click mode registers. More...

#include <leddriver9.h>

Data Fields

union { 
 
   uint8_t   byte 
 
   struct { 
 
      uint8_t   ALLCALL: 1 
 
      uint8_t   SUB3: 1 
 
      uint8_t   SUB2: 1 
 
      uint8_t   SUB1: 1 
 
      uint8_t   OSC: 1 
 
      uint8_t   AI0: 1 
 
      uint8_t   AI1: 1 
 
      uint8_t   AI2: 1 
 
   }  
 
mode_1 
 
union { 
 
   uint8_t   byte 
 
   struct { 
 
      uint8_t   RES: 3 
 
      uint8_t   OCH: 1 
 
      uint8_t   RES1: 1 
 
      uint8_t   DMBLNK: 1 
 
      uint8_t   RES2: 1 
 
      uint8_t   EFCLR: 1 
 
   }  
 
mode_2 
 

Detailed Description

LED Driver 9 Click mode registers.

Structure that contains MODE1 and MODE2 registers.

Field Documentation

◆ AI0

uint8_t AI0

MODE1[5] AI0: Auto-increment bit 0 option.

◆ AI1

uint8_t AI1

MODE1[6] AI1: Auto-increment bit 1 option.

◆ AI2

uint8_t AI2

MODE1[7] AI2: Register auto-increment enable option.

◆ ALLCALL

uint8_t ALLCALL

MODE1[0] ALLCALL: Device responds to LED All Call I2C bus address option.

◆ byte

uint8_t byte

Full register represented as a single byte.

◆ DMBLNK

uint8_t DMBLNK

MODE2[5] DMBLNK: Group control blinking or dimming.

◆ EFCLR

uint8_t EFCLR

MODE2[7] EFCLR: Clear error status flag.

◆ [union]

union { ... } mode_1

◆ [union]

union { ... } mode_2

◆ OCH

uint8_t OCH

MODE2[3] OCH: Outputs change on ACK or Stop command.

◆ OSC

uint8_t OSC

MODE1[4] OSC: Oscillator off option.

◆ RES

uint8_t RES

MODE2[2:0] RES: Reserved.

◆ RES1

uint8_t RES1

MODE2[4] RES1: Reserved.

◆ RES2

uint8_t RES2

MODE2[6] RES2: Reserved.

◆ SUB1

uint8_t SUB1

MODE1[3] SUB1: Device responds to I2C bus subaddress 1 option.

◆ SUB2

uint8_t SUB2

MODE1[2] SUB2: Device responds to I2C bus subaddress 2 option.

◆ SUB3

uint8_t SUB3

MODE1[1] SUB3: Device responds to I2C bus subaddress 3 option.


The documentation for this struct was generated from the following file: