PebbleOS v4.47.0-1075-g013613c8a
Loading...
Searching...
No Matches
pbl_display_bridge_ops Struct Reference

Bridge operations, callable from an interrupt. More...

#include <display_bridge.h>

Data Fields

int(* refresh )(const struct pbl_display_bridge *bridge)
 Send a frame from the display controller.
 
void(* hold )(const struct pbl_display_bridge *bridge, bool hold)
 Stop taking from the display controller while it is set up, or go on.
 
int(* request_tear )(const struct pbl_display_bridge *bridge)
 Report the next tearing effect of the panel.
 
void(* set_event_cb )(const struct pbl_display_bridge *bridge, pbl_display_bridge_event_cb_t cb, void *arg)
 Set the callback of the events.
 

Detailed Description

Bridge operations, callable from an interrupt.

Field Documentation

◆ hold

void(* pbl_display_bridge_ops::hold) (const struct pbl_display_bridge *bridge, bool hold)

Stop taking from the display controller while it is set up, or go on.

◆ refresh

int(* pbl_display_bridge_ops::refresh) (const struct pbl_display_bridge *bridge)

Send a frame from the display controller.

Returns 0 or a negative errno.

◆ request_tear

int(* pbl_display_bridge_ops::request_tear) (const struct pbl_display_bridge *bridge)

Report the next tearing effect of the panel.

Returns 0 or a negative errno.

◆ set_event_cb

void(* pbl_display_bridge_ops::set_event_cb) (const struct pbl_display_bridge *bridge, pbl_display_bridge_event_cb_t cb, void *arg)

Set the callback of the events.


The documentation for this struct was generated from the following file: