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

Driver Operations SENT driver operations More...

#include <zephyr/drivers/sent/sent.h>

Data Fields

sent_start_listening_t start_listening
  OPT Enable a specific channel to start receiving from the bus.
sent_stop_listening_t stop_listening
  OPT Disable a specific channel to stop receiving from the bus.
sent_register_callback_t register_callback
  OPT Add a callback function to handle messages received for a specific channel.

Detailed Description

Driver Operations SENT driver operations

This is the driver API structure any SENT 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

◆ register_callback

sent_register_callback_t sent_driver_api::register_callback

OPT Add a callback function to handle messages received for a specific channel.

◆ start_listening

sent_start_listening_t sent_driver_api::start_listening

OPT Enable a specific channel to start receiving from the bus.

◆ stop_listening

sent_stop_listening_t sent_driver_api::stop_listening

OPT Disable a specific channel to stop receiving from the bus.


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