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.
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 Initializes the LCD.
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_Automotive
_WriteGear Description: Show current gear
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
Initializes the STM324xG-EVAL's LCD and LEDs resources.
System Clock Configuration The system Clock is configured as follow : System Clock source = PLL (HSE) SYSCLK(Hz) = 168000000 HCLK(Hz) = 168000000 AHB Prescaler = 1 APB1 Prescaler = 4 APB2 Prescaler = 2 HSE Frequency(Hz) = 25000000 PLL_M = 25 PLL_N = 336 PLL_P = 2 PLL_Q = 7 VDD(V) = 3.3 Main regulator output voltage = Scale1 mode Flash Latency(WS) = 5
LcdWriteReg Function description: Sets display register
LcdWriteData Function description: Writes a value to a display register
LcdWriteDataMultiple Function description: Writes multiple values to a display register.
LcdReadDataMultiple Function description: Reads multiple values from a display register.
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
Static code _GetPixelsPerSecond
Static code _cbWin Purpose: Callback routine of map window. On receiving a timer message it invalidates itself and restarts the timer.
_cbClient Purpose: Callback routine of property dialog
_cbFrame Purpose: Callback routine of frame window
Static code _MoveSprite
_InitTreeview Purpose: Adds some data to the treeview widget
_cbDialog Purpose: Callback of dialog
_Action Purpose: Does some action with the treeview widget
_DemoTreeview Purpose: Creates the dialog and starts the demo
_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.
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
Transceiver Basic Control Register
Auto-Negotiation process completed
PHY status register Offset
Transceiver Basic Status Register
Enable auto-negotiation function
Select the power down mode
Set the full-duplex mode at 100 Mb/s
Set the half-duplex mode at 100 Mb/s
Set the full-duplex mode at 10 Mb/s
Set the half-duplex mode at 10 Mb/s
Restart auto-negotiation function
Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code
Multi layer/display support
MII Interrupt Status and Misc. Control Register
MII Interrupt Control Register
PHY Enable output interrupt events
Enable Interrupt on change of link status
PHY link status interrupt mask
Layer configuration (to be modified)
Configuration of touch support
Structure containing information for drawing routine
Configuration of available packages
Configuration macros
DATA _aWave - Keep below _AddData-functions
Portions COPYRIGHT(c) 2016 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
DATA - _pfDraw[] - Array of function pointers to drawing routines
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(c) 2016 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, shape of polygons
DATA - _pfGetAngle[] - Array of function pointers to GetAngle functions
Static data _pNames
Dolphin bitmap arrays
static data, scale bitmap (large)
Static data GUIDEMO_bm4bpp
_bmSystem Purpose: Icon bitmap with alpha channel
Static data _bmBrowser Purpose: Icon bitmap with alpha channel
_bmClock Purpose: Icon bitmap with alpha channel
_bmWrite Purpose: Icon bitmap with alpha channel
_bmEmail Purpose: Icon bitmap with alpha channel
_bmPassword Purpose: Icon bitmap with alpha channel
_bmRead Purpose: Icon bitmap with alpha channel
_bmHund Purpose: Background bitmap
_bmDate Purpose: Icon bitmap with alpha channel
_bmToucan Purpose: Toucan with alpha channel
_acFramed24B Purpose: Data for framed font used to draw the explanations
_bmRemote Purpose: Icon bitmap with alpha channel
Bitmaps * bmSeggerLogo * Used in * - GUIDEMO_Intro.c *
GUI_FontAA4_32 * Used in * - GUIDEMO_AntiAliasedText.c *
GUI_FontAA2_32 * Used in * - GUIDEMO_AntiAliasedText.c *
bmSeggerLogo70x35 * Used in * - GUIDEMO.c * - GUIDEMO_Automotive.c * - GUIDEMO_BarGraph.c * - GUIDEMO_Speed.c *
Dolphin bitmap structures
Dolphin(s) All dolphins uses the same palette, so the palette and color information exists only once.