Functions | |
const uint8_t * | BSP_GetBoardID (void) |
This method returns the board ID. More... | |
const uint8_t * | BSP_GetBoardName (void) |
This method returns the board name. More... | |
int32_t | BSP_GetVersion (void) |
This method returns the STM32H747I DISCO BSP Driver revision. More... | |
__weak void | BSP_JOY_Callback (JOY_TypeDef JOY, uint32_t JoyPin) |
BSP Joystick Callback. More... | |
int32_t | BSP_JOY_DeInit (JOY_TypeDef JOY, JOYPin_TypeDef JoyPins) |
DeInit joystick GPIOs. More... | |
int32_t | BSP_JOY_GetState (JOY_TypeDef JOY, uint32_t JoyPin) |
Returns the current joystick status. More... | |
int32_t | BSP_JOY_Init (JOY_TypeDef JOY, JOYMode_TypeDef JoyMode, JOYPin_TypeDef JoyPins) |
Configures joystick GPIO and EXTI modes. More... | |
void | BSP_JOY_IRQHandler (JOY_TypeDef JOY, JOYPin_TypeDef JoyPin) |
This function handles JOY keys interrupt request. More... | |
int32_t | BSP_LED_DeInit (Led_TypeDef Led) |
DeInit LEDs. More... | |
int32_t | BSP_LED_GetState (Led_TypeDef Led) |
Get the selected LED state. More... | |
int32_t | BSP_LED_Init (Led_TypeDef Led) |
Configures LED on GPIO. More... | |
int32_t | BSP_LED_Off (Led_TypeDef Led) |
Turns selected LED Off. More... | |
int32_t | BSP_LED_On (Led_TypeDef Led) |
Turns selected LED On. More... | |
int32_t | BSP_LED_Toggle (Led_TypeDef Led) |
Toggles the selected LED. More... | |
__weak void | BSP_PB_Callback (Button_TypeDef Button) |
BSP Push Button callback. More... | |
int32_t | BSP_PB_DeInit (Button_TypeDef Button) |
Push Button DeInit. More... | |
int32_t | BSP_PB_GetState (Button_TypeDef Button) |
Returns the selected button state. More... | |
int32_t | BSP_PB_Init (Button_TypeDef Button, ButtonMode_TypeDef ButtonMode) |
Configures button GPIO and EXTI Line. More... | |
void | BSP_PB_IRQHandler (Button_TypeDef Button) |
This function handles Push-Button interrupt requests. More... | |
static void | BUTTON_WAKEUP_EXTI_Callback (void) |
KEY EXTI line detection callbacks. More... | |
const uint8_t * BSP_GetBoardID | ( | void | ) |
This method returns the board ID.
pointer | to the board name string |
Definition at line 155 of file stm32h747i_discovery.c.
const uint8_t * BSP_GetBoardName | ( | void | ) |
This method returns the board name.
pointer | to the board name string |
Definition at line 146 of file stm32h747i_discovery.c.
int32_t BSP_GetVersion | ( | void | ) |
This method returns the STM32H747I DISCO BSP Driver revision.
This method returns the STM32F4 DISCO BSP Driver revision.
version | 0xXYZR (8bits for each decimal, R for RC) |
Definition at line 137 of file stm32h747i_discovery.c.
void BSP_JOY_Callback | ( | JOY_TypeDef | JOY, |
uint32_t | JoyPin | ||
) |
BSP Joystick Callback.
JOY | Joystick instance |
JoyPin | Specifies the pin connected EXTI line |
None. |
Definition at line 798 of file stm32h747i_discovery.c.
int32_t BSP_JOY_DeInit | ( | JOY_TypeDef | JOY, |
JOYPin_TypeDef | JoyPins | ||
) |
DeInit joystick GPIOs.
JOY | instance |
JoyPins | joystick pins to be de-initialized |
BSP | status |
Definition at line 696 of file stm32h747i_discovery.c.
int32_t BSP_JOY_GetState | ( | JOY_TypeDef | JOY, |
uint32_t | JoyPin | ||
) |
Returns the current joystick status.
Code | of the joystick key pressed This code can be one of the following values:
|
Definition at line 753 of file stm32h747i_discovery.c.
int32_t BSP_JOY_Init | ( | JOY_TypeDef | JOY, |
JOYMode_TypeDef | JoyMode, | ||
JOYPin_TypeDef | JoyPins | ||
) |
Configures joystick GPIO and EXTI modes.
JOY | Joystick to be initialized |
JoyMode | Button mode. This parameter can be one of the following values:
|
JoyPins | joystick pins to be initialized |
BSP | status |
Definition at line 599 of file stm32h747i_discovery.c.
void BSP_JOY_IRQHandler | ( | JOY_TypeDef | JOY, |
JOYPin_TypeDef | JoyPin | ||
) |
This function handles JOY keys interrupt request.
JOY | Joystick instance |
JoyPin | Specifies the pin connected EXTI handler |
None |
Definition at line 784 of file stm32h747i_discovery.c.
int32_t BSP_LED_DeInit | ( | Led_TypeDef | Led | ) |
DeInit LEDs.
Led | LED to be configured. This parameter can be one of the following values:
|
BSP | status |
Definition at line 201 of file stm32h747i_discovery.c.
int32_t BSP_LED_GetState | ( | Led_TypeDef | Led | ) |
Get the selected LED state.
Led | LED to be get its state This parameter can be one of the following values:
|
LED | status |
Definition at line 275 of file stm32h747i_discovery.c.
int32_t BSP_LED_Init | ( | Led_TypeDef | Led | ) |
Configures LED on GPIO.
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 stm32h747i_discovery.c.
int32_t BSP_LED_Off | ( | Led_TypeDef | Led | ) |
Turns selected LED Off.
Led | LED to be set off This parameter can be one of the following values:
|
BSP | status |
Definition at line 242 of file stm32h747i_discovery.c.
int32_t BSP_LED_On | ( | Led_TypeDef | Led | ) |
Turns selected LED On.
Led | LED to be set on This parameter can be one of the following values:
|
BSP | status |
Definition at line 224 of file stm32h747i_discovery.c.
int32_t BSP_LED_Toggle | ( | Led_TypeDef | Led | ) |
Toggles the selected LED.
Led | LED to be toggled This parameter can be one of the following values:
|
BSP | status |
Definition at line 259 of file stm32h747i_discovery.c.
void BSP_PB_Callback | ( | Button_TypeDef | Button | ) |
BSP Push Button callback.
Button | Specifies the pin connected EXTI line |
None. |
Definition at line 382 of file stm32h747i_discovery.c.
int32_t BSP_PB_DeInit | ( | Button_TypeDef | Button | ) |
Push Button DeInit.
Button | Button to be configured This parameter can be one of the following values:
|
BSP | status |
Definition at line 336 of file stm32h747i_discovery.c.
int32_t BSP_PB_GetState | ( | Button_TypeDef | Button | ) |
Returns the selected button state.
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 354 of file stm32h747i_discovery.c.
int32_t BSP_PB_Init | ( | Button_TypeDef | Button, |
ButtonMode_TypeDef | ButtonMode | ||
) |
Configures button GPIO and EXTI Line.
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 293 of file stm32h747i_discovery.c.
void BSP_PB_IRQHandler | ( | Button_TypeDef | Button | ) |
This function handles Push-Button interrupt requests.
Button | Specifies the pin connected EXTI line |
None |
Definition at line 364 of file stm32h747i_discovery.c.
|
static |
KEY EXTI line detection callbacks.
None |
Definition at line 373 of file stm32h747i_discovery.c.