Functions | |
uint32_t | BSP_GetVersion (void) |
This method returns the STM32F4 DISCO BSP Driver revision. More... | |
void | BSP_LED_Init (Led_TypeDef Led) |
Configures LED GPIO. More... | |
void | BSP_LED_Off (Led_TypeDef Led) |
Turns selected LED Off. More... | |
void | BSP_LED_On (Led_TypeDef Led) |
Turns selected LED On. More... | |
void | BSP_LED_Toggle (Led_TypeDef Led) |
Toggles the selected LED. More... | |
uint32_t | BSP_PB_GetState (Button_TypeDef Button) |
Returns the selected Button state. More... | |
void | BSP_PB_Init (Button_TypeDef Button, ButtonMode_TypeDef ButtonMode) |
Configures Button GPIO and EXTI Line. More... | |
uint32_t BSP_GetVersion | ( | void | ) |
This method returns the STM32F4 DISCO BSP Driver revision.
version | : 0xXYZR (8bits for each decimal, R for RC) |
This method returns the STM32F4 DISCO BSP Driver revision.
version | 0xXYZR (8bits for each decimal, R for RC) |
Definition at line 156 of file stm32f4_discovery.c.
void BSP_LED_Init | ( | Led_TypeDef | Led | ) |
Configures LED GPIO.
Led | Specifies the Led to be configured. This parameter can be one of following parameters:
|
Led | LED to be configured. This parameter can be one of the following values:
|
Led | LED to be configured. This parameter can be one of the following values:
|
None | Configures LED GPIO. |
Led | LED to be configured. This parameter can be one of the following values:
|
BSP | status |
Definition at line 170 of file stm32f4_discovery.c.
void BSP_LED_Off | ( | Led_TypeDef | Led | ) |
Turns selected LED Off.
Led | Specifies the Led to be set off. This parameter can be one of following parameters:
|
Led | LED to be set off This parameter can be one of the following values:
|
Led | LED to be set off This parameter can be one of the following values:
|
None |
Led | LED to be set off This parameter can be one of the following values:
|
BSP | status |
Definition at line 211 of file stm32f4_discovery.c.
void BSP_LED_On | ( | Led_TypeDef | Led | ) |
Turns selected LED On.
Led | Specifies the Led to be set on. This parameter can be one of following parameters:
|
Led | LED to be set on This parameter can be one of the following values:
|
Led | LED to be set on This parameter can be one of the following values:
|
None |
Led | LED to be set on This parameter can be one of the following values:
|
BSP | status |
Definition at line 197 of file stm32f4_discovery.c.
void BSP_LED_Toggle | ( | Led_TypeDef | Led | ) |
Toggles the selected LED.
Led | Specifies the Led to be toggled. This parameter can be one of following parameters:
|
Led | LED to be toggled This parameter can be one of the following values:
|
Led | LED to be toggled This parameter can be one of the following values:
|
None |
Led | LED to be toggled This parameter can be one of the following values:
|
BSP | status |
Definition at line 225 of file stm32f4_discovery.c.
uint32_t BSP_PB_GetState | ( | Button_TypeDef | Button | ) |
Returns the selected Button state.
Button | Specifies the Button to be checked. This parameter should be: BUTTON_KEY |
The | Button GPIO pin value. |
Returns the selected Button state.
Button | Button to be checked This parameter can be one of the following values:
|
The | Button GPIO pin value |
Returns the selected Button state.
Button | Button to be checked This parameter can be one of the following values:
|
The | Button GPIO pin value |
Definition at line 287 of file stm32f4_discovery.c.
void BSP_PB_Init | ( | Button_TypeDef | Button, |
ButtonMode_TypeDef | ButtonMode | ||
) |
Configures Button GPIO and EXTI Line.
Button | Specifies the Button to be configured. This parameter should be: BUTTON_KEY |
Mode | Specifies Button mode. This parameter can be one of following 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 | Button to be configured This parameter can be one of the following values:
|
Button_Mode | Button mode This parameter can be one of the following values:
|
Button | Button to be configured This parameter can be one of the following values:
|
Button_Mode | Button mode This parameter can be one of the following values:
|
None | Configures Button GPIO and EXTI Line. |
Button | Button to be configured This parameter can be one of the following values:
|
ButtonMode | Button mode This parameter can be one of the following values:
|
BSP | status |
Definition at line 248 of file stm32f4_discovery.c.