Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mipi_dbi_driver_api Struct Reference

MIPI-DBI host driver API. More...

#include <mipi_dbi.h>

Data Fields

int(* command_write )(const struct device *dev, const struct mipi_dbi_config *config, uint8_t cmd, const uint8_t *data, size_t len)
 
int(* command_read )(const struct device *dev, const struct mipi_dbi_config *config, uint8_t *cmds, size_t num_cmds, uint8_t *response, size_t len)
 
int(* write_display )(const struct device *dev, const struct mipi_dbi_config *config, const uint8_t *framebuf, struct display_buffer_descriptor *desc, enum display_pixel_format pixfmt)
 
int(* reset )(const struct device *dev, k_timeout_t delay)
 
int(* release )(const struct device *dev, const struct mipi_dbi_config *config)
 

Detailed Description

MIPI-DBI host driver API.

Field Documentation

◆ command_read

int(* mipi_dbi_driver_api::command_read) (const struct device *dev, const struct mipi_dbi_config *config, uint8_t *cmds, size_t num_cmds, uint8_t *response, size_t len)

◆ command_write

int(* mipi_dbi_driver_api::command_write) (const struct device *dev, const struct mipi_dbi_config *config, uint8_t cmd, const uint8_t *data, size_t len)

◆ release

int(* mipi_dbi_driver_api::release) (const struct device *dev, const struct mipi_dbi_config *config)

◆ reset

int(* mipi_dbi_driver_api::reset) (const struct device *dev, k_timeout_t delay)

◆ write_display

int(* mipi_dbi_driver_api::write_display) (const struct device *dev, const struct mipi_dbi_config *config, const uint8_t *framebuf, struct display_buffer_descriptor *desc, enum display_pixel_format pixfmt)

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