Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
display_event_data Struct Reference

Display event payload. More...

#include <zephyr/drivers/display.h>

Data Fields

uint64_t timestamp
 Timestamp to differentiate between events of the same type.
union { 
   int   line 
 For DISPLAY_EVENT_LINE_INT events, set to -1 if unavailable. More...
   int   buffer_id 
 For DISPLAY_EVENT_FRAME_DONE events, set to -1 if unavailable. More...
info
 Event info passed by driver to callback.

Detailed Description

Display event payload.

Field Documentation

◆ buffer_id

int display_event_data::buffer_id

For DISPLAY_EVENT_FRAME_DONE events, set to -1 if unavailable.

◆ [union]

union { ... } display_event_data::info

Event info passed by driver to callback.

◆ line

int display_event_data::line

For DISPLAY_EVENT_LINE_INT events, set to -1 if unavailable.

◆ timestamp

uint64_t display_event_data::timestamp

Timestamp to differentiate between events of the same type.

It can be provided with k_cycle_get_64() For e.g. .


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