components/lcd/CMakeLists.txt File Reference

## Functions

| set (srcs "src/LCD.c" "src/Driver.c") idf_component_register(SRCS "$

## Function Documentation

## set()

set | ( | srcs "src/LCD.c" "src/Driver.c" |  | ) |

LCD_TYPE_ST
@ LCD_TYPE_ST
Definition: Driver.h:51
iDriver_sendLineFinish
static esp_err_t iDriver_sendLineFinish(void)
send finish after line
Definition: Driver.c:457
PIN_NUM_CLK
#define PIN_NUM_CLK
Definition: Driver.h:26
LCD_HIGH
#define LCD_HIGH
Definition: Driver.h:34
iDriver_writeFramebuffer
esp_err_t iDriver_writeFramebuffer(uint16_t ***pu16Framebuffer)
write framebuffer to LCD via SPI
Definition: Driver.c:341
LCD_TYPE_ILI
@ LCD_TYPE_ILI
Definition: Driver.h:50
LCD_HOST
#define LCD_HOST
Definition: Driver.h:21
vLCD_writeChar
void vLCD_writeChar(uint16_t u16xPos, uint16_t u16yPos, char cCharacter, uint16_t u16ColorFont, uint16_t u16ColorBackground)
write string/text into framebuffer
Definition: LCD.c:235
vDriver_getFramenufferPerLine
void vDriver_getFramenufferPerLine(uint16_t *pu16Dest, uint16_t u16Line, uint16_t u16Linect, uint16_t ***pu16Framebuffer)
Get the pixel data for a set of lines (with implied line size of 320)
Definition: Driver.c:374
iLCD_allocateFramebuffer
esp_err_t iLCD_allocateFramebuffer(uint16_t ***pData)
allocate framebuffer
Definition: LCD.c:151
LCD.h
PIN_NUM_DC
#define PIN_NUM_DC
Definition: Driver.h:29
vDriver_init
esp_err_t vDriver_init(void)
Initialize the driver.
Definition: Driver.c:130
LCD_WIDTH
#define LCD_WIDTH
Definition: Driver.h:33
iDriver_SendData
esp_err_t iDriver_SendData(const uint8_t *pu8Data, uint16_t u16Len)
Send data to the LCD.
Definition: Driver.c:276
vDriver_init
esp_err_t vDriver_init(void)
Initialize the driver.
Definition: Driver.c:130
vDriver_spiPreTransferCallback
void vDriver_spiPreTransferCallback(spi_transaction_t *t)
Pre Transfer Callback.
Definition: Driver.c:300
iLCD_writeString
esp_err_t iLCD_writeString(uint16_t u16xPos, uint16_t u16yPos, char *pcText, uint16_t u16ColorFont, uint16_t u16ColorBackground)
write string/text into framebuffer
Definition: LCD.c:202
vDriver_GetId
uint32_t vDriver_GetId(void)
get LCD driver chip id
Definition: Driver.c:314
PIN_NUM_BCKL
#define PIN_NUM_BCKL
Definition: Driver.h:31
ili_init_cmds
static DRAM_ATTR const lcd_init_cmd_t ili_init_cmds[]
Definition: Driver.c:62
iDriver_writeFramebuffer
esp_err_t iDriver_writeFramebuffer(uint16_t ***pu16Framebuffer)
write framebuffer to LCD via SPI
Definition: Driver.c:341
PIN_NUM_CS
#define PIN_NUM_CS
Definition: Driver.h:27
sending_line
int16_t sending_line
Definition: Driver.c:16
iDriver_sendLines
static esp_err_t iDriver_sendLines(uint16_t u16Ypos, uint16_t *pu16Linedata)
send line to lcd chip
Definition: Driver.c:399
st_init_cmds
static DRAM_ATTR const lcd_init_cmd_t st_init_cmds[]
Definition: Driver.c:28
iLCD_init
esp_err_t iLCD_init(void)
init
Definition: LCD.c:130
lines
uint16_t * lines[2]
Definition: Driver.c:15
PARALLEL_LINES
#define PARALLEL_LINES
Definition: Driver.h:38
pu16Framebuffer
uint16_t ** pu16Framebuffer
Definition: LCD.c:23
PIN_NUM_MISO
#define PIN_NUM_MISO
Definition: Driver.h:24
DMA_CHAN
#define DMA_CHAN
Definition: Driver.h:22
PIN_NUM_RST
#define PIN_NUM_RST
Definition: Driver.h:30
iDriver_sendCmd
esp_err_t iDriver_sendCmd(const uint8_t u8Cmd)
Send a command to the LCD.
Definition: Driver.c:247
calc_line
int16_t calc_line
Definition: Driver.c:17
PIN_NUM_MOSI
#define PIN_NUM_MOSI
Definition: Driver.h:25
font6_8
static const uint8_t font6_8[][6]
Definition: LCD.c:26
lcd_init_cmd_t
Definition: Driver.h:43
Driver.h
iLCD_clearFramebuffer
esp_err_t iLCD_clearFramebuffer(uint16_t u16Color)
clear complete framebuffer with a color
Definition: LCD.c:179
spi
spi_device_handle_t spi
Definition: Driver.c:13