leddriver9 2.0.0.0
|
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 | |
LED Driver 9 Click mode registers.
Structure that contains MODE1 and MODE2 registers.
uint8_t AI0 |
MODE1[5] AI0: Auto-increment bit 0 option.
uint8_t AI1 |
MODE1[6] AI1: Auto-increment bit 1 option.
uint8_t AI2 |
MODE1[7] AI2: Register auto-increment enable option.
uint8_t ALLCALL |
MODE1[0] ALLCALL: Device responds to LED All Call I2C bus address option.
uint8_t byte |
Full register represented as a single byte.
uint8_t DMBLNK |
MODE2[5] DMBLNK: Group control blinking or dimming.
uint8_t EFCLR |
MODE2[7] EFCLR: Clear error status flag.
union { ... } mode_1 |
union { ... } mode_2 |
uint8_t OCH |
MODE2[3] OCH: Outputs change on ACK or Stop command.
uint8_t OSC |
MODE1[4] OSC: Oscillator off option.
uint8_t RES |
MODE2[2:0] RES: Reserved.
uint8_t RES1 |
MODE2[4] RES1: Reserved.
uint8_t RES2 |
MODE2[6] RES2: Reserved.
uint8_t SUB1 |
MODE1[3] SUB1: Device responds to I2C bus subaddress 1 option.
uint8_t SUB2 |
MODE1[2] SUB2: Device responds to I2C bus subaddress 2 option.
uint8_t SUB3 |
MODE1[1] SUB3: Device responds to I2C bus subaddress 3 option.