Symbols
loading...
Files
loading...

LCD_Paint sample

LCD_Paint is a sample project defining the following symbols:

Most used functions

Name
Location
Summary
This function handles NMI exception.
This function handles Hard Fault exception.
This function handles Debug Monitor exception.
This function handles Memory Manage exception.
This function handles Bus Fault exception.
This function handles Usage Fault exception.
This function handles SysTick Handler.
This function handles SVCall exception.
This function handles PendSVC exception.
Reports the name of the source file and the source line number where the assert_param error has occurred.
Main program
Initializes a Drive
I/O control operation
Reads Sector(s)
Writes Sector(s)
This function handles SDIO interrupt request.
Calibrate x position (to obtain X = calibrated(x))
Updates the selected size
This function is executed in case of error occurrence.
Disable/Enable LTDC activity as in DSI Video mode the LTDC is all the time in active window pumping data with its DMA, it creates a huge bandwidth consumption that can penalize other IPs, here the save to SD functionality.
TouchScreen_Calibration_WaitForPressedState : wait until a particular press/depress action The function is managing anti-rebound : that is the awaited state when detected needs to be stable for a sufficient time (timeout time), otherwise a new sense to search for awaited state is performed. When awaited state is found and state is stable for timeout duration, the function is exited.
System Clock Configuration The system Clock is configured as follow : System Clock source = PLL (HSE) SYSCLK(Hz) = 180000000 HCLK(Hz) = 180000000 AHB Prescaler = 1 APB1 Prescaler = 4 APB2 Prescaler = 2 HSE Frequency(Hz) = 8000000 PLL_M = 8 PLL_N = 360 PLL_P = 2 PLL_Q = 7 PLL_R = 6 VDD(V) = 3.3 Main regulator output voltage = Scale1 mode Flash Latency(WS) = 5
Configures and gets Touch screen position.
Draws the menu.
Saves the picture in microSD.
Prepares the picture to be saved in microSD.
Updates the selected color

Other commonly used symbols

Name
Location
Summary
Internal High Speed oscillator (HSI) value. This value is used by the RCC HAL module to compute the system frequency (when HSI is used as system clock source, directly or through the PLL). Value of the Internal oscillator in Hz
Default value of the External oscillator in Hz
The assert_param macro is used for function's parameters check.
Miscellaneous Configuration *********************** Vector Table base offset field. This value must be a multiple of 0x200.
@file Display/LCD_Paint/Inc/main.h @author MCD Application Team Header for main.c module @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
@file Display/LCD_Paint/Inc/stm32f4xx_it.h @author MCD Application Team This file contains the headers of the interrupt handlers. @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
External clock source for I2S peripheral This value is used by the I2S HAL module to compute the I2S clock source frequency, this source is inserted directly through I2S_CKIN pad. Value of the external oscillator in Hz
Internal Low Speed oscillator (LSI) value.
External Low Speed oscillator (LSE) value. Value of the External Low Speed oscillator in Hz
Time out for HSE start up, in ms
Time out for LSE start up, in ms
@file BSP/inc/stm32f4xx_hal_conf.h @author MCD Application Team HAL configuration file. @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
This is the list of modules to be used in the HAL driver
This is the HAL system configuration section Value of VDD in mv
Portions COPYRIGHT 2017 STMicroelectronics Copyright (C) 2017, ChaN, all right reserved. @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
@file sd_diskio.h @author MCD Application Team Header for sd_diskio.c module. @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code
@file Display/LCD_Paint/Inc/save.h @author MCD Application Team This file contains image used for LTDC application. @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
@file Display/LCD_Paint/Inc/color.h @author MCD Application Team This file contains image used for LTDC application. @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.