|
XPoint 0.1.0
Hardware-agnostic crosspoint matrix routing library
|
Driver for the TLC59711 12-channel 16-bit PWM constant-current LED driver. More...
Go to the source code of this file.
Classes | |
| class | TLC59711Driver |
| XPointDriver implementation for the TLC59711 SPI PWM driver. More... | |
Driver for the TLC59711 12-channel 16-bit PWM constant-current LED driver.
SPI packet format (28 bytes per chip, sent MSB first):
| Bytes | Field | Description |
|---|---|---|
| 0ā3 | Control word (32-bit) | CMD=0x25, OUTTMG=1, TMGRST=1, DSPRPT=1, BC=0x7F all |
| 4ā27 | GS11 down to GS0 | 16 bits each, MSB first |
Resulting control bytes: 0x96 0xDF 0xFF 0xFF.
Daisy-chain byte order: in a chain of N chips the first bytes shifted out propagate to the last physical chip. commitPhysicalUpdates() sends chip Nā1 data first so that mapper channel 0 always maps to the first physical chip (nearest MOSI).
0xFFFF / 0x0000.