#include "lv_conf.h"
#include "lvgl/lvgl.h"
#include <string.h>
#include "tft.h"
#include "stm32f7xx_hal.h"
#include "stm32f769i_discovery.h"
#include "stm32f769i_discovery_lcd.h"
#include "stm32f769i_discovery_sdram.h"
◆ DMA_CHANNEL
| #define DMA_CHANNEL DMA_CHANNEL_0 |
◆ DMA_STREAM
| #define DMA_STREAM DMA2_Stream0 |
◆ DMA_STREAM_IRQ
| #define DMA_STREAM_IRQ DMA2_Stream0_IRQn |
◆ DMA_STREAM_IRQHANDLER
This function handles DMA Stream interrupt request.
- Parameters
-
- Return values
-
◆ HACT
| #define HACT (OTM8009A_800X480_WIDTH / ZONES) |
◆ HBP
| #define HBP OTM8009A_800X480_HBP |
◆ HFP
| #define HFP OTM8009A_800X480_HFP |
◆ HSYNC
| #define HSYNC OTM8009A_800X480_HSYNC |
◆ LAYER0_ADDRESS
| #define LAYER0_ADDRESS (LCD_FB_START_ADDRESS) |
◆ VACT
| #define VACT OTM8009A_800X480_HEIGHT |
◆ VBP
| #define VBP OTM8009A_800X480_VBP |
◆ VFP
| #define VFP OTM8009A_800X480_VFP |
◆ VSYNC
| #define VSYNC OTM8009A_800X480_VSYNC |
◆ ZONES
◆ BSP_LCD_MspInit()
| void BSP_LCD_MspInit |
( |
void |
| ) |
|
Initialize the BSP LCD Msp. Do not DMA2D is initialized by LVGL.
Enable the LTDC clock
Toggle Sw reset of LTDC IP
Enable DSI Host and wrapper clocks
Soft Reset the DSI Host and wrapper
NVIC configuration for LTDC interrupt that is now enabled
NVIC configuration for DSI interrupt that is now enabled
◆ DSI_IRQHandler()
| void DSI_IRQHandler |
( |
void |
| ) |
|
◆ tft_init()
Initialize your display here
◆ CmdCfg
◆ dsiPllInit
| DSI_PLLInitTypeDef dsiPllInit |
◆ hdsi_discovery
| DSI_HandleTypeDef hdsi_discovery |
|
extern |
◆ hdsivideo_handle
| DSI_VidCfgTypeDef hdsivideo_handle |
◆ hltdc_discovery
| LTDC_HandleTypeDef hltdc_discovery |
|
extern |
◆ LPCmd