STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Macros | Functions | Variables
LCDConf.c File Reference

This file implements the configuration for the GUI library. More...

#include "LCDConf.h"
#include "GUI_Private.h"

Go to the source code of this file.

Macros

#define LCD_SWAP_XY   1
 
#define LCD_MIRROR_Y   1
 
#define XSIZE_PHYS   800
 
#define YSIZE_PHYS   480
 
#define NUM_BUFFERS   3 /* Number of multiple buffers to be used */
 
#define NUM_VSCREENS   1 /* Number of virtual screens to be used */
 
#define BK_COLOR   GUI_DARKBLUE
 
#define GUI_NUM_LAYERS   2
 
#define COLOR_CONVERSION_0   GUICC_M565
 
#define DISPLAY_DRIVER_0   GUIDRV_LIN_16
 
#define COLOR_CONVERSION_1   GUICC_M1555I
 
#define DISPLAY_DRIVER_1   GUIDRV_LIN_16
 
#define LCD_LAYER0_FRAME_BUFFER   ((int)0xC0400000)
 
#define LCD_LAYER1_FRAME_BUFFER   ((int)0xC0800000)
 

Functions

void LCD_LL_DrawBitmap16bpp (int LayerIndex, int x, int y, U16 const *p, int xSize, int ySize, int BytesPerLine)
 Draw 16bpp bitmap file. More...
 
void LCD_LL_DrawBitmap32bpp (int LayerIndex, int x, int y, U8 const *p, int xSize, int ySize, int BytesPerLine)
 
void DSI_IO_WriteCmd (uint32_t NbrParams, uint8_t *pParams)
 DCS or Generic short/long write command. More...
 
void HAL_LTDC_LineEvenCallback (LTDC_HandleTypeDef *hltdc_eval)
 Line Event callback. More...
 
void LCD_X_Config (void)
 Called during the initialization process in order to set up the display driver configuration. More...
 
int LCD_X_DisplayDriver (unsigned LayerIndex, unsigned Cmd, void *pData)
 This function is called by the display driver for several purposes. To support the according task the routine needs to be adapted to the display controller. Please note that the commands marked with 'optional' are not cogently required and should only be adapted if the display controller supports these features. More...
 

Variables

LTDC_HandleTypeDef hltdc_eval
 
DSI_HandleTypeDef hdsi_eval
 
DSI_VidCfgTypeDef hdsivideo_handle
 
LCD_LayerPropTypedef layer_prop [GUI_NUM_LAYERS]
 

Detailed Description

This file implements the configuration for the GUI library.

Author
MCD Application Team
Version
V1.0.1
Date
22-April-2016
Attention

© Copyright (c) 2016 STMicroelectronics International N.V. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted, provided that the following conditions are met:

  1. Redistribution of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of STMicroelectronics nor the names of other contributors to this software may be used to endorse or promote products derived from this software without specific written permission.
  4. This software, including modifications and/or derivative works of this software, must execute solely and exclusively on microcontroller or microprocessor devices manufactured by or for STMicroelectronics.
  5. Redistribution and use of this software other than as permitted under this license is void and will automatically terminate your rights under this license.

THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file LCDConf.c.