How can i write display and touch drivers for a stm32 mcu specifically H743IIT6?

Description

What MCU/Processor/Board and compiler are you using? stm32H743IIT6 , GCC compiler

What do you want to achieve? developing display and touch drivers

What have you tried so far?

Code to reproduce

Add the relevant code snippets here.

The code block(s) should be between ```c and ``` tags:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

for example, I sit down and write code, maybe you prefer…
but realy your q is out of lvgl and omit info about display and touch used.
For basic touch you need init interface and some lines of code for read touch events.
For displays is based on used interface type…

I dont know where to start from
How should i write the APIs to be campatible with LVGL
For display i wanna use LTDC and for touch the interface is either I2C or SPI

Try inspire here stm32h750bdk_lvgl_nos/Core/Src/main.c at main · rreicher/stm32h750bdk_lvgl_nos · GitHub

but use MCUs as this need deep knowledge.