Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dali_driver_api Struct Reference

Driver Operations DALI driver operations More...

#include <zephyr/drivers/dali.h>

Data Fields

dali_api_set_receive_callback_t set_receive_callback
  REQ Set a callback function that receives frames from the DALI bus.
dali_api_transmit_t transmit
  REQ Transmit a frame on the DALI bus.

Detailed Description

Driver Operations DALI driver operations

This is the driver API structure any DALI driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.

Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.

See also
DEVICE_DT_INST_DEFINE()
DEVICE_DT_DEFINE()
DEVICE_API()

Field Documentation

◆ set_receive_callback

dali_api_set_receive_callback_t dali_driver_api::set_receive_callback

REQ Set a callback function that receives frames from the DALI bus.

◆ transmit

dali_api_transmit_t dali_driver_api::transmit

REQ Transmit a frame on the DALI bus.


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