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

Driver Operations PSI5 driver operations More...

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

Data Fields

psi5_start_sync_t start_sync
  OPT Start the sync pulse generator on a specific channel.
psi5_stop_sync_t stop_sync
  OPT Stop the sync pulse generator on a specific channel.
psi5_send_t send
  OPT Transmitting PSI5 data on a specific channel.
psi5_register_callback_t register_callback
  OPT Add a callback function to handle messages received for a specific channel.

Detailed Description

Driver Operations PSI5 driver operations

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

psi5_register_callback_t psi5_driver_api::register_callback

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

◆ send

psi5_send_t psi5_driver_api::send

OPT Transmitting PSI5 data on a specific channel.

◆ start_sync

psi5_start_sync_t psi5_driver_api::start_sync

OPT Start the sync pulse generator on a specific channel.

◆ stop_sync

psi5_stop_sync_t psi5_driver_api::stop_sync

OPT Stop the sync pulse generator on a specific channel.


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