PebbleOS v4.43.0-131-ga855823dd
Loading...
Searching...
No Matches
panel.h File Reference
#include <stdint.h>
#include <pbl/device.h>

Data Structures

struct  pbl_panel_timing
 Timing of a panel scanned by its controller. More...
 
struct  pbl_panel_ops
 Panel driver operations. More...
 
struct  pbl_panel
 A panel. More...
 

Macros

#define PBL_PANEL_INIT(sym, _name, _init, _ops, _deps, _timing, _bus_format)
 Initializer for the struct pbl_panel of panel sym, for the PBL_*_DEFINE() macro of a driver, with its device state defined by PBL_DEVICE_STATE_DEFINE().
 

Enumerations

enum  pbl_panel_bus_format { PBL_PANEL_BUS_FORMAT_JDI_RGB222 }
 Bus formats. More...
 

Functions

int pbl_panel_prepare (const struct pbl_panel *panel)
 Power a panel up.
 
int pbl_panel_enable (const struct pbl_panel *panel)
 Turn a panel's image on.
 
int pbl_panel_disable (const struct pbl_panel *panel)
 Turn a panel's image off.
 
int pbl_panel_unprepare (const struct pbl_panel *panel)
 Power a panel down.
 

Variables

const struct pbl_device_class pbl_panel_class
 Class of the panels.