Symbols
loading...
Files
loading...

STemWin_SampleDemo sample

STemWin_SampleDemo 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.
Main program
This function handles PPP interrupt request. This function handles TIM interrupt request.
This function handles LTDC global interrupt request.
GUIDEMO_ShowIntro Function description Shows the GUIDEMO introduction screen which display the title of the sample and a short description.
Provide the GUI with current state of the touch screen
GUIDEMO_AddStringToString
GUIDEMO_NotifyStartNext Use this function if the next step of the current sample will be shown immediately
GUIDEMO_Wait This function has to be called if the current step is a static frame and another step will follow
GUIDEMO_Delay This function has to be called if the current step of the sample is the last one and consists of a single frame
GUIDEMO_UpdateControlText
RTC MSP De-Initialization This function frees the hardware resources used in This application: - Disable the Peripheral's clock
RTC MSP De-Initialization This function frees the hardware resources used in This application: - Disable the Peripheral's clock
Public functions GUIDEMO_SetDrawLogo
public code GUIDEMO_Cursor
Public code GUIDEMO_Listview
Public code GUIDEMO_Speed
Public code GUIDEMO_Treeview
Configure the current time and date.
public code GUIDEMO_Bitmap
Public routines GUIDEMO_IconView
Public code GUIDEMO_VScreen
This routine is used by the STemWin color conversion routines to use DMA2D for color conversion. It converts the given index values to 32 bit colors. Because STemWin uses ABGR internally and 0x00 and 0xFF for opaque and fully transparent the color array needs to be converted after DMA2D has been used.
This routine is used by the STemWin color conversion routines to use DMA2D for color conversion. It converts the given 32 bit color array to index values. Because STemWin uses ABGR internally and 0x00 and 0xFF for opaque and fully transparent the given color array needs to be converted before DMA2D can be used.
Color format of DMA2D is different to STemWin color format. This routine inverts alpha that it is compatible to STemWin and vice versa
_Delay Function description: Delay function which returns 1 immediately if automatic animation is off
static code _ShowCursorType
Static code _WaitForPressedState Purpose: Waits until the touch is in the given pressed state for at least 250 ms
Static functions _ClearHalt This function is called if the next button is pressed after the demo was halted
_DispStringCentered Purpose: Shows the given text horizontally and vertically centered
Function for mixing up 2 colors with the given intensity. If the background color is completely transparent the foreground color should be used unchanged.
The STemWin function LCD_GetpPalConvTable() normally translates the given colors into index values for the display controller. In case of index based bitmaps without transparent pixels we load the palette only to the DMA2D LUT registers to be translated (converted) during the process of drawing via DMA2D.
Static code Initialize the LCD Controller.
Static code _Loop
Initializes the STM32F429I-DISCO's LCD and LEDs resources.
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 VDD(V) = 3.3 Main regulator output voltage = Scale1 mode Flash Latency(WS) = 5
Static functions _AddData_Sine
Private routines _cbWin
_InitListview Purpose: Adds some data to the listview widget
_Action Purpose: Does some action with the widget
Static code _AddRow Purpose: Inserts or adds a new row of data to the given LISTVIEW Parameter: hItem - Handle of LISTVIEW widget Insert - 1 for inserting a row,0 for adding a row
Private routines _cbDraw Function description: Callback routine of radial menu
_cbMotion Function description: Callback routine of transparent motion window which is responsible for processing the motion messages.
_RadialMenu Function description: Creates and executes a radial menu with motion support.
Static code _GetPixelsPerSecond
_cbDialog Purpose: Callback of dialog
_Action Purpose: Does some action with the treeview widget
_DemoTreeview Purpose: Creates the dialog and starts the demo
Static code _MoveSprite
_InitTreeview Purpose: Adds some data to the treeview widget
_GetPhysValues Purpose: Asks the user to press the touch screen at the given position and returns the physical A/D values
_Explain Purpose: Shows a text to give a short explanation of the sample program

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
Adjust the value of External High Speed oscillator (HSE) used in your application. This value is used by the RCC HAL module to compute the system frequency (when HSE is used as system clock source, directly or through the PLL). Value of the External oscillator in Hz
Miscellaneous Configuration *********************** Vector Table base offset field. This value must be a multiple of 0x200.
@file 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 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.
Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code
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 STemWin/STemWin_SampleDemo/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
Multi layer/display support
Configuration of touch support
Configuration of available packages
Configuration macros
DATA _aWave - Keep below _AddData-functions
Portions COPYRIGHT 2017 STMicroelectronics * Portions SEGGER Microcontroller GmbH & Co. KG * Solutions for real time microcontroller applications * (c) 1996 - 2015 SEGGER Microcontroller GmbH & Co. KG * Internet: www.segger.com Support: support@segger.com * * emWin V5.28 - Graphical user interface for embedded applications ** All Intellectual Property rights in the Software belongs to SEGGER. emWin is protected by international copyright laws. Knowledge of the source code may not be used to write a similar product. This file may only be used in accordance with the following terms: The software has been licensed to STMicroelectronics International N.V. a Dutch company with a Swiss branch and its headquarters in Plan- les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for the purposes of creating libraries for ARM Cortex-M-based 32-bit microcon_ troller products commercialized by Licensee only, sublicensed and dis_ tributed under the terms and conditions of the End User License Agree_ ment supplied by STMicroelectronics International N.V. Full source code is available at: www.segger.com We appreciate your understanding and fairness. ---------------------------------------------------------------------- File : GUIConf.h Purpose : Configures emWins abilities, fonts etc. ---------------------------------------------------------------------- @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.
Fonts * GUI_FontD6x8 * Used in GUIDEMO.c (PROGBAR) *
Configuration of modules to be used
GUI_FontRounded22 * Used in * - GUIDEMO.c * - GUIDEMO_AntiAliasedText.c * - GUIDEMO_Automotive.c * - GUIDEMO_Bargraph.c * - GUIDEMO_ColorBar.c * - GUIDEMO_IconView.c * - GUIDEMO_ImageFlow.c * - GUIDEMO_Intro.c *
GUI_FontRounded16 * Used in * - GUIDEMO_Automotive.c * - GUIDEMO_Cursor.c * - GUIDEMO_Speedometer.c *
GUI_FontSouvenir18 * Used in * - GUIDEMO.c * - GUIDEMO_ColorBar.c * - GUIDEMO_Intro.c *
Configuration defines
Static variables
Portions COPYRIGHT 2017 STMicroelectronics * Portions SEGGER Microcontroller GmbH & Co. KG * Solutions for real time microcontroller applications * (c) 1996 - 2015 SEGGER Microcontroller GmbH & Co. KG * Internet: www.segger.com Support: support@segger.com * * emWin V5.28 - Graphical user interface for embedded applications ** All Intellectual Property rights in the Software belongs to SEGGER. emWin is protected by international copyright laws. Knowledge of the source code may not be used to write a similar product. This file may only be used in accordance with the following terms: The software has been licensed to STMicroelectronics International N.V. a Dutch company with a Swiss branch and its headquarters in Plan- les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for the purposes of creating libraries for ARM Cortex-M-based 32-bit microcon_ troller products commercialized by Licensee only, sublicensed and dis_ tributed under the terms and conditions of the End User License Agree_ ment supplied by STMicroelectronics International N.V. Full source code is available at: www.segger.com We appreciate your understanding and fairness. ---------------------------------------------------------------------- File : GUIDEMO.h Purpose : Configuration file of GUIDemo ---------------------------------------------------------------------- @file GUIDEMO.c @author MCD Application Team Configuration file of GUIDemo @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 CALIBRATION.h @author MCD Application Team Header for CALIBRATION.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 RTC.h @author MCD Application Team Header for RTC.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.
Static data _pNames
Dolphin bitmap arrays
Static data GUIDEMO_bm4bpp
_bmRemote Purpose: Icon bitmap with alpha channel
Static data _bmBrowser Purpose: Icon bitmap with alpha channel
_bmDate Purpose: Icon bitmap with alpha channel
_bmHund Purpose: Background bitmap
_bmSystem Purpose: Icon bitmap with alpha channel
_bmWrite Purpose: Icon bitmap with alpha channel
_bmPassword Purpose: Icon bitmap with alpha channel
_bmEmail Purpose: Icon bitmap with alpha channel
_bmClock Purpose: Icon bitmap with alpha channel
_bmToucan Purpose: Toucan with alpha channel
_acFramed24B Purpose: Data for framed font used to draw the explanations
_bmRead Purpose: Icon bitmap with alpha channel
_bmRead Purpose: Icon bitmap with alpha channel
_bmClock Purpose: Icon bitmap with alpha channel
_bmEmail Purpose: Icon bitmap with alpha channel
_bmRemote Purpose: Icon bitmap with alpha channel
_bmWrite Purpose: Icon bitmap with alpha channel
_bmPassword Purpose: Icon bitmap with alpha channel
_bmSystem Purpose: Icon bitmap with alpha channel
Static data _bmBrowser Purpose: Icon bitmap with alpha channel
_bmDate Purpose: Icon bitmap with alpha channel
bmSeggerLogo70x35 * Used in * - GUIDEMO.c * - GUIDEMO_Automotive.c * - GUIDEMO_BarGraph.c * - GUIDEMO_Speed.c *
GUI_FontAA4_32 * Used in * - GUIDEMO_AntiAliasedText.c *
Bitmaps * bmSeggerLogo * Used in * - GUIDEMO_Intro.c *
GUI_FontAA2_32 * Used in * - GUIDEMO_AntiAliasedText.c *
Dolphin bitmap structures
Dolphin(s) All dolphins uses the same palette, so the palette and color information exists only once.