|
PebbleOS v4.47.0-1075-g013613c8a
|
Data Structures | |
| struct | pbl_display_bridge_ops |
| Bridge operations, callable from an interrupt. More... | |
| struct | pbl_display_bridge |
| A bridge. More... | |
Macros | |
| #define | PBL_DISPLAY_BRIDGE_INIT(sym, _name, _parent, _ops) |
Initializer for the struct pbl_display_bridge of bridge sym, with its device state defined by PBL_DEVICE_STATE_DEFINE(). | |
Typedefs | |
| typedef void(* | pbl_display_bridge_event_cb_t) (enum pbl_display_bridge_event event, void *arg) |
| Called on an event of a bridge, from its interrupt. | |
Enumerations | |
| enum | pbl_display_bridge_event { PBL_DISPLAY_BRIDGE_EVENT_TEAR , PBL_DISPLAY_BRIDGE_EVENT_REFRESH_DONE } |
| Events of a bridge. More... | |
Functions | |
| int | pbl_display_bridge_refresh (const struct pbl_display_bridge *bridge) |
| Send a frame from the display controller to the panel. | |
| void | pbl_display_bridge_hold (const struct pbl_display_bridge *bridge, bool hold) |
| Stop taking from the display controller while it is set up, or go on. | |
| int | pbl_display_bridge_request_tear (const struct pbl_display_bridge *bridge) |
| Report the next tearing effect of the panel, with PBL_DISPLAY_BRIDGE_EVENT_TEAR. | |
| int | pbl_display_bridge_set_event_cb (const struct pbl_display_bridge *bridge, pbl_display_bridge_event_cb_t cb, void *arg) |
| Set the callback of the events of a bridge. | |