|
PebbleOS
|
Awinic AW2016 RGB LED controller Backlight driver. More...
Data Structures | |
| struct | pbl_aw2016 |
| AW2016 RGB LED controller. More... | |
Macros | |
| #define | PBL_AW2016_DEFINE(sym, _bus, _addr) |
| Define an AW2016. | |
Awinic AW2016 RGB LED controller Backlight driver.
| struct pbl_aw2016 |
AW2016 RGB LED controller.
| Data Fields | ||
|---|---|---|
| struct pbl_backlight | backlight | Backlight, child of the I2C bus. |
| struct pbl_i2c_dev | i2c | I2C device. |
| #define PBL_AW2016_DEFINE | ( | sym, | |
| _bus, | |||
| _addr | |||
| ) |
Define an AW2016.
| sym | Symbol of the instance; the backlight is sym.backlight. |
| _bus | I2C bus. |
| _addr | 7-bit I2C address. |