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

Driver Operations FPGA driver operations More...

#include <zephyr/drivers/fpga.h>

Data Fields

fpga_api_get_status get_status
  OPT Read the status of FPGA.
fpga_api_reset reset
  OPT Reset the FPGA.
fpga_api_load load
  OPT Load the bitstream and program the FPGA.
fpga_api_on on
  OPT Turns on the FPGA.
fpga_api_off off
  OPT Turns off the FPGA.
fpga_api_get_info get_info
  OPT Returns information about the FPGA.

Detailed Description

Driver Operations FPGA driver operations

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

◆ get_info

fpga_api_get_info fpga_driver_api::get_info

OPT Returns information about the FPGA.

◆ get_status

fpga_api_get_status fpga_driver_api::get_status

OPT Read the status of FPGA.

◆ load

fpga_api_load fpga_driver_api::load

OPT Load the bitstream and program the FPGA.

◆ off

fpga_api_off fpga_driver_api::off

OPT Turns off the FPGA.

◆ on

fpga_api_on fpga_driver_api::on

OPT Turns on the FPGA.

◆ reset

fpga_api_reset fpga_driver_api::reset

OPT Reset the FPGA.


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