PebbleOS v4.47.0-1362-gd278268fe
Loading...
Searching...
No Matches
driver.h File Reference
#include <stdint.h>
#include <pbl/device.h>
#include <pbl/drivers/backlight.h>
#include <pbl/kernel/mutex.h>

Data Structures

struct  pbl_backlight_ops
 Backlight driver operations, called with the device lock held. More...
 
struct  pbl_backlight_state
 Backlight runtime state. More...
 
struct  pbl_backlight
 Backlight. More...
 

Macros

#define PBL_BACKLIGHT_STATE_DEFINE(sym)
 Define the class state of a backlight.
 
#define PBL_BACKLIGHT_INIT(sym, _name, _parent, _ops)
 Initialize a struct pbl_backlight.