LCD-ESP32-Driver 1.0
Project includes component for controlling LCD displays. Currently supports only one LCD controller - SSD1283A but it may change in the future.
Loading...
Searching...
No Matches
LCD_com_t Struct Reference

Structure containing function interface for low-level communication with specific LCD controller (some protocol like SPI is usually used). More...

#include <lcd_low.h>

Data Fields

bool(* write_cmd )(LCD_handle_t base, const uint8_t cmd)
 
bool(* write_single_bytes )(LCD_handle_t base, const uint8_t *data, const size_t dataSize)
 
bool(* write_two_bytes )(LCD_handle_t base, const uint16_t data)
 

Detailed Description

Structure containing function interface for low-level communication with specific LCD controller (some protocol like SPI is usually used).

Note
Handle for the structure is usually returned by getter methods of some communication protocol implementations (e.g. check lcd_spi.h file).

Field Documentation

◆ write_cmd

bool(* write_cmd) (LCD_handle_t base, const uint8_t cmd)

Pointer to function which writes address of the selected command to specific LCD controller bus

◆ write_single_bytes

bool(* write_single_bytes) (LCD_handle_t base, const uint8_t *data, const size_t dataSize)

Pointer to function which writes data bytes to specific LCD controller bus

◆ write_two_bytes

bool(* write_two_bytes) (LCD_handle_t base, const uint16_t data)

Pointer to function which writes exactly two bytes of data to specific LCD controller bus


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