|
PebbleOS v4.47.0-512-g5285d4236
|
Awinic AW9364E LED driver Backlight driver. More...
Data Structures | |
| struct | pbl_aw9364e_state |
| AW9364E driver state, owned by the driver. More... | |
| struct | pbl_aw9364e |
| AW9364E LED driver. More... | |
Macros | |
| #define | PBL_AW9364E_DEFINE(sym, _enable) |
| Define an AW9364E. | |
Awinic AW9364E LED driver Backlight driver.
Brightness is set by pulse counting on a single enable line, in 16 steps.
| struct pbl_aw9364e_state |
| struct pbl_aw9364e |
AW9364E LED driver.
| Data Fields | ||
|---|---|---|
| struct pbl_backlight | backlight | Backlight. |
| struct pbl_gpio | enable | Enable line, also used for the dimming pulses. |
| struct pbl_aw9364e_state * | state | Driver state. |
| #define PBL_AW9364E_DEFINE | ( | sym, | |
| _enable | |||
| ) |
Define an AW9364E.
| sym | Symbol of the instance; the backlight is sym.backlight. |
| _enable | Enable line (struct pbl_gpio). |