Symbols
loading...
Files
loading...

BSP sample

BSP 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.
Main program
This function handles External line 15_10 interrupt request.
This function handles External line 1 interrupt request.
Check for user input.
This function handles LTDC Handler.
This function handles DSI Handler.
This function handles DMA2D Handler.
Starts Audio streaming.
Calibrate x position (to obtain X = calibrated(x))
Manages Audio process.
This function handles External line 2 interrupt request.
This function handles LTDC Error Interrupt Handler.
SD Demo polling detection
DCMI interrupt handler.
LCD Log demo
SD_Detection checks detection and writes msg on display
Main part of SD Demo Test
Blend Foreground object 'object', with background object 'buffer' shifted by position (pos_x, pos_y) @ destination address in 'buffer' + (pos_x, pos_y)
SD Demo exti detection
Touchscreen Demo1 : test touchscreen calibration and single touch in polling mode
Touchscreen Demo2 : test touchscreen single and dual touch in polling mode
This function handles QUADSPI interrupt request.
Touchscreen Demo3 : test touchscreen single and dual touch in interrupt mode
Gets Data from storage unit.
Display TS Demo Hint for all touchscreen demos depending on passed demoIndex in parameter.
Converts a camera buffer line of format RGB565 to a LCD display frame buffer line in format ARGB8888 using DMA2D service.
Converts a camera buffer line of format RGB565 to a LCD display frame buffer column in format ARGB8888 using DMA2D service. This handles the rotation of 90 degrees hour direction of camera buffer.
Display Camera demo hint
Display joystick demo hint
Show LCD Features
Display main demo messages.
Fills buffer with user predefined data.
Compares two buffers.
Touchscreen_Handle_NewTouch: factorization of touch management
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.
Camera line event callback when no camera image rotation is required
Camera line event callback when camera image rotation of 90 degrees hour direction is required.
Draw one by one all objects of scene using DMA2D operation in polling mode
Display Animation demo hint
Display Audio demo hint
DMA2D Camera frame buffer init Transfer completed callback
DMA2D Camera frame buffer init Transfer error callback
Init camera frame buffer with fixed color in format RGB565 to a LCD display frame buffer line in format ARGB8888 using DMA2D service.
Display EEPROM Demo Hint
Compares two buffers.
Display LCD demo initial hint
Display LCD demo contextual hint
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) = 25000000 PLL_M = 25 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
Display NOR Demo Hint
Fills buffer with user predefined data.
Compares two buffers.
Display QSPI Demo Hint
Fills buffer with user predefined data.
Compares two buffers.
Display SD Demo Hint
Fills buffer with user predefined data.
Compares two buffers.
Display SDRAM Demo Hint
Fills buffer with user predefined data.
Compares two buffers.
Display SDRAM Demo Hint
Fills buffer with user predefined data.
Compares two buffers.
Display SRAM Demo Hint

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 BSP/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 BSP/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
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
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
SDRAM Write read buffer start address after CAM Frame buffer Assuming Camera frame buffer is of size 640x480 and format RGB565 (16 bits per pixel).
@file BSP/Inc/stlogo.h @author MCD Application Team This file contains image used for BSP example. @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.
Camera frame buffer start address Assuming LCD frame buffer is of size 480x800 and format ARGB8888 (32 bits per pixel).
@file BSP/Inc/lcd_log_conf.h @author MCD Application Team lcd_log configuration template file. This file should be copied to the application folder and modified as follows: - Rename it to 'lcd_log_conf.h'. - Update the name of the LCD driver's header file, depending on the EVAL board you are using, see line40 below (be default this file will generate compile error unless you do this modification). @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.
LCD FB_StartAddress LCD Frame buffer start address : starts at beginning of SDRAM
@file BSP/Inc/anime.h @author MCD Application Team This file contains graphics definitions for animation control. @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 BSP/Inc/battery_20x35.h @author MCD Application Team This file contains icon definition for animation control. @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 BSP/Inc/logo_compo_134x124.h @author MCD Application Team This file contains icon definition for animation control. @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 BSP/Inc/clouds1_124x44.h @author MCD Application Team This file contains icon definition for animation control. @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 BSP/Inc/clouds2_124x44.h @author MCD Application Team This file contains icon definition for animation control. @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 BSP/Inc/clouds3_124x44.h @author MCD Application Team This file contains icon definition for animation control. @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 BSP/Inc/drop_29x35.h @author MCD Application Team This file contains icon definition for animation control. @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 BSP/Inc/gauge1_128x126.h @author MCD Application Team This file contains icon definition for animation control. @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 BSP/Inc/gauge2_128x126.h @author MCD Application Team This file contains icon definition for animation control. @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 BSP/Inc/gauge3_128x126.h @author MCD Application Team This file contains icon definition for animation control. @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 BSP/Inc/gyro_36x36.h @author MCD Application Team This file contains icon definition for animation control. @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 BSP/Inc/thermo_25x35.h @author MCD Application Team This file contains icon definition for animation control. @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. C-file generated by * Bitmap Converter (ST) for emWin V5.26. * Compiled Aug 8 2014, 14:49:30 * (c) 1998 - 2014 Segger Microcontroller GmbH & Co. KG * Source file: thermo_25x35 * Dimensions: 25 * 35 * NumColors: 16bpp: 65536 *
@file BSP/Inc/bluetooth_30x35.h @author MCD Application Team This file contains icon definition for animation control. @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.