Functions | |
uint32_t | BSP_PB_GetState (Button_TypeDef Button) |
Returns the selected Button state. More... | |
void | BSP_PB_Init (Button_TypeDef Button, ButtonMode_TypeDef Mode) |
Configures Button GPIO and EXTI Line. More... | |
int32_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. |
Definition at line 287 of file stm32f4_discovery.c.
int32_t BSP_PB_Init | ( | Button_TypeDef | Button, |
ButtonMode_TypeDef | Mode | ||
) |
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:
|
Definition at line 248 of file stm32f4_discovery.c.