Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
MIPI-DSI Driver Backend API

Data Structures

struct  mipi_dsi_driver_api
  Driver Operations MIPI-DSI driver operations More...

Typedefs

typedef int(* mipi_dsi_api_attach_t) (const struct device *dev, uint8_t channel, const struct mipi_dsi_device *mdev)
 Attach a new device to the MIPI-DSI bus.
typedef ssize_t(* mipi_dsi_api_transfer_t) (const struct device *dev, uint8_t channel, struct mipi_dsi_msg *msg)
 Transfer data to/from a device attached to the MIPI-DSI bus.
typedef int(* mipi_dsi_api_detach_t) (const struct device *dev, uint8_t channel, const struct mipi_dsi_device *mdev)
 Detach a device from the MIPI-DSI bus.

Detailed Description

This group contains the API type definitions, callback signatures, and other helpers required to implement a MIPI-DSI driver.

Typedef Documentation

◆ mipi_dsi_api_attach_t

typedef int(* mipi_dsi_api_attach_t) (const struct device *dev, uint8_t channel, const struct mipi_dsi_device *mdev)

#include <zephyr/drivers/mipi_dsi.h>

Attach a new device to the MIPI-DSI bus.

See mipi_dsi_attach() for argument description.

◆ mipi_dsi_api_detach_t

typedef int(* mipi_dsi_api_detach_t) (const struct device *dev, uint8_t channel, const struct mipi_dsi_device *mdev)

#include <zephyr/drivers/mipi_dsi.h>

Detach a device from the MIPI-DSI bus.

See mipi_dsi_detach() for argument description.

◆ mipi_dsi_api_transfer_t

typedef ssize_t(* mipi_dsi_api_transfer_t) (const struct device *dev, uint8_t channel, struct mipi_dsi_msg *msg)

#include <zephyr/drivers/mipi_dsi.h>

Transfer data to/from a device attached to the MIPI-DSI bus.

See mipi_dsi_transfer() for argument description.