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.
This function handles the test program fail.
Reports the name of the source file and the source line number where the assert_param error has occurred.
Main program.
This function handles PPP interrupt request. This function handles EXTI0_IRQ Handler.
Check for user input.
Joystick Gpio demo
Show LCD Features
Display main demo messages.
Display joystick demo hint
Display LCD demo hint
Check the availability of adafruit 1.8" TFT shield on top of STM32NUCLEO board. This is done by reading the state of IO PC.01 pin when using the ADC1 peripheral or IO PF.03 pin when using ADC3 peripheral (mapped to JoyStick available on adafruit 1.8" TFT shield). If the state of PC.01 or PF.03 is high then the adafruit 1.8" TFT shield is available.
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 = 2 VDD(V) = 3.3 Main regulator output voltage = Scale1 mode Flash Latency(WS) = 3
Display SD Demo Hint
Fills buffer with user predefined data.
Compares two buffers.

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
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 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 BSP/inc/stm32f4xx_hal_conf.h @author MCD Application Team HAL configuration template file. This file should be copied to the application folder and renamed to stm32f4xx_hal_conf.h. @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 special control/ 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
PHY Interrupt Source Flag register Offset
PHY Link down inturrupt
Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code
@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.