STM32L4R9I_EVAL BSP User Manual: stm32l4r9i_eval_rgb_lcd.c File Reference

STM32L4R9I_EVAL BSP

stm32l4r9i_eval_rgb_lcd.c File Reference

This file includes the driver for Liquid Crystal Display (LCD) module mounted on STM32L4R9I_EVAL board. More...

#include "stm32l4r9i_eval_lcd.h" #include "../../../Utilities/Fonts/fonts.h"
#include "../../../Utilities/Fonts/font24.c"
#include "../../../Utilities/Fonts/font20.c"
#include "../../../Utilities/Fonts/font16.c"
#include "../../../Utilities/Fonts/font12.c"
#include "../../../Utilities/Fonts/font8.c"

Go to the source code of this file.


Detailed Description

This file includes the driver for Liquid Crystal Display (LCD) module mounted on STM32L4R9I_EVAL board.

Author:
MCD Application Team
  1. How To use this driver:
  --------------------------
     - This driver is used to drive directly an LCD TFT using the LTDC controller.
     - This driver uses timing and setting for RK043FN48H LCD.

  2. Driver description:
  ---------------------
    + Initialization steps:
       o Initialize the LCD using the BSP_RGB_LCD_Init() function.
       o Apply the Layer configuration using the BSP_RGB_LCD_LayerDefaultInit() function.
       o Select the LCD layer to be used using the BSP_RGB_LCD_SelectLayer() function.
       o Enable the LCD display using the BSP_RGB_LCD_DisplayOn() function.

    + Options
       o Configure and enable the color keying functionality using the
         BSP_RGB_LCD_SetColorKeying() function.
       o Modify in the fly the transparency and/or the frame buffer address
         using the following functions:
         - BSP_RGB_LCD_SetTransparency()
         - BSP_RGB_LCD_SetLayerAddress()

    + Display on LCD
       o Clear the hole LCD using BSP_RGB_LCD_Clear() function or only one specified string
         line using the BSP_RGB_LCD_ClearStringLine() function.
       o Display a character on the specified line and column using the BSP_RGB_LCD_DisplayChar()
         function or a complete string line using the BSP_RGB_LCD_DisplayStringAtLine() function.
       o Display a string line on the specified position (x,y in pixel) and align mode
         using the BSP_RGB_LCD_DisplayStringAtLine() function.
       o Draw and fill a basic shapes (dot, line, rectangle, circle, ellipse, .. bitmap)
         on LCD using the available set of functions.
  
Attention:

© COPYRIGHT(c) 2017 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions 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 its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER 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 stm32l4r9i_eval_rgb_lcd.c.

Generated on Thu Oct 12 2017 10:54:00 for STM32L4R9I_EVAL BSP User Manual by   doxygen 1.7.6.1