Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HC_SR04_Ultrasonic_Library Servo mbed
Fork of FIP_REV1 by
STM32F4XX_NUCLEO_LOW_LEVEL_Private_Functions
[STM32F4XX_NUCLEO_LOW_LEVEL]
Functions | |
| uint32_t | BSP_GetVersion (void) |
| This method returns the STM32F4xx NUCLEO BSP Driver revision. | |
| void | BSP_LED_Init (Led_TypeDef Led) |
| Configures LED GPIO. | |
| void | BSP_LED_On (Led_TypeDef Led) |
| Turns selected LED On. | |
| void | BSP_LED_Off (Led_TypeDef Led) |
| Turns selected LED Off. | |
| void | BSP_LED_Toggle (Led_TypeDef Led) |
| Toggles the selected LED. | |
| void | BSP_PB_Init (Button_TypeDef Button, ButtonMode_TypeDef ButtonMode) |
| Configures Button GPIO and EXTI Line. | |
| uint32_t | BSP_PB_GetState (Button_TypeDef Button) |
| Returns the selected Button state. | |
Function Documentation
| uint32_t BSP_GetVersion | ( | void | ) |
This method returns the STM32F4xx NUCLEO BSP Driver revision.
- Parameters:
-
None
- Return values:
-
version : 0xXYZR (8bits for each decimal, R for RC)
Definition at line 125 of file stm32f4xx_nucleo.c.
| void BSP_LED_Init | ( | Led_TypeDef | Led ) |
Configures LED GPIO.
- Parameters:
-
Led,: Specifies the Led to be configured. This parameter can be one of following parameters: - LED2
- Return values:
-
None
Definition at line 137 of file stm32f4xx_nucleo.c.
| void BSP_LED_Off | ( | Led_TypeDef | Led ) |
Turns selected LED Off.
- Parameters:
-
Led,: Specifies the Led to be set off. This parameter can be one of following parameters: - LED2
- Return values:
-
None
Definition at line 174 of file stm32f4xx_nucleo.c.
| void BSP_LED_On | ( | Led_TypeDef | Led ) |
Turns selected LED On.
- Parameters:
-
Led,: Specifies the Led to be set on. This parameter can be one of following parameters: - LED2
- Return values:
-
None
Definition at line 162 of file stm32f4xx_nucleo.c.
| void BSP_LED_Toggle | ( | Led_TypeDef | Led ) |
Toggles the selected LED.
- Parameters:
-
Led,: Specifies the Led to be toggled. This parameter can be one of following parameters: - LED2
- Return values:
-
None
Definition at line 186 of file stm32f4xx_nucleo.c.
| uint32_t BSP_PB_GetState | ( | Button_TypeDef | Button ) |
Returns the selected Button state.
- Parameters:
-
Button,: Specifies the Button to be checked. This parameter should be: BUTTON_KEY
- Return values:
-
The Button GPIO pin value.
Definition at line 240 of file stm32f4xx_nucleo.c.
| void BSP_PB_Init | ( | Button_TypeDef | Button, |
| ButtonMode_TypeDef | ButtonMode | ||
| ) |
Configures Button GPIO and EXTI Line.
- Parameters:
-
Button,: Specifies the Button to be configured. This parameter should be: BUTTON_KEY ButtonMode,: Specifies Button mode. This parameter can be one of following parameters: - BUTTON_MODE_GPIO: Button will be used as simple IO
- BUTTON_MODE_EXTI: Button will be connected to EXTI line with interrupt generation capability
- Return values:
-
None
Definition at line 202 of file stm32f4xx_nucleo.c.
Generated on Tue Jul 12 2022 21:42:00 by
1.7.2
