Typedefs | Functions | Variables
stm32h747i_discovery.c File Reference

This file provides a set of firmware functions to manage LEDs push-buttons COM ports available on STM32H747I-DISCO board(MB1248) from STMicroelectronics. More...

#include "stm32h747i_discovery.h"
Include dependency graph for stm32h747i_discovery.c:

Go to the source code of this file.

Typedefs

typedef void(* BSP_EXTI_LineCallback) (void)
 

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...
 
static void JOY1_DOWN_EXTI_Callback (void)
 JOY1 DOWN EXTI line detection callbacks. More...
 
static void JOY1_LEFT_EXTI_Callback (void)
 JOY1 LEFT EXTI line detection callbacks. More...
 
static void JOY1_RIGHT_EXTI_Callback (void)
 JOY1 RIGHT EXTI line detection callbacks. More...
 
static void JOY1_SEL_EXTI_Callback (void)
 JOY1 SEL EXTI line detection callbacks. More...
 
static void JOY1_UP_EXTI_Callback (void)
 JOY1 UP EXTI line detection callbacks. More...
 

Variables

static const IRQn_Type BUTTON_IRQn [BUTTONn] = {BUTTON_WAKEUP_EXTI_IRQn}
 
static const uint16_t BUTTON_PIN [BUTTONn] = {BUTTON_WAKEUP_PIN}
 
static GPIO_TypeDefBUTTON_PORT [BUTTONn] = {BUTTON_WAKEUP_GPIO_PORT}
 
static EXTI_HandleTypeDef hjoy_exti [JOY_KEY_NUMBER]
 
EXTI_HandleTypeDef hpb_exti [BUTTONn]
 
static const IRQn_Type JOY1_IRQn [JOY_KEY_NUMBER]
 
static const uint16_t JOY1_PIN [JOY_KEY_NUMBER]
 
static GPIO_TypeDefJOY1_PORT [JOY_KEY_NUMBER]
 
static uint32_t JoyPinsMask
 
static const uint32_t LED_PIN [LEDn]
 
static GPIO_TypeDefLED_PORT [LEDn]
 

Detailed Description

This file provides a set of firmware functions to manage LEDs push-buttons COM ports available on STM32H747I-DISCO board(MB1248) from STMicroelectronics.

Author
MCD Application Team
Attention

© Copyright (c) 2018 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32h747i_discovery.c.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:02