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.
|
Contains interface implementation of the LCD driver to work with SSD1283A controller. More...
#include "lcd_spi.h"
Go to the source code of this file.
Macros | |
#define | SSD1283A_SPI_MAX_TRANSFER_SIZE 648 |
#define | SSD1283A_SPI_QUEUE_SIZE 7 |
#define | SSD1283A_SPI_CLOCK_SPEED 10*1000*1000 |
#define | SSD1283A_WIDTH 132 |
#define | SSD1283A_HEIGHT 132 |
Functions | |
LCD_handle_t | lcd_ssd1283a_spi__Create (spi_device_handle_t spi, const int dc, const int reset) |
Creates the instance of LCD driver to communicate with SSD1283A controller using SPI interface. More... | |
Contains interface implementation of the LCD driver to work with SSD1283A controller.
#define SSD1283A_HEIGHT 132 |
Height of the LCD screen in pixels
#define SSD1283A_SPI_CLOCK_SPEED 10*1000*1000 |
Preferred SPI bus frequency in Hz
#define SSD1283A_SPI_MAX_TRANSFER_SIZE 648 |
Preferred maximum size of data to be transferred through SPI line during one transaction
#define SSD1283A_SPI_QUEUE_SIZE 7 |
Preferred SPI transaction queue size
#define SSD1283A_WIDTH 132 |
Width of the LCD screen in pixels
LCD_handle_t lcd_ssd1283a_spi__Create | ( | spi_device_handle_t | spi, |
const int | dc, | ||
const int | reset | ||
) |
Creates the instance of LCD driver to communicate with SSD1283A controller using SPI interface.
spi | Handle for the SPI bus device |
dc | GPIO value for DC (data/command) pin |
reset | GPIO value for RESET pin |