Functions
Collaboration diagram for BSP Public Functions:

Functions

uint32_t BSP_GetVersion (void)
 This method returns the STM32F769I Discovery BSP Driver revision. More...
 
void BSP_LED_DeInit (Led_TypeDef Led)
 DeInit LEDs. 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...
 
void BSP_PB_DeInit (Button_TypeDef Button)
 Push Button DeInit. More...
 
uint32_t BSP_PB_GetState (Button_TypeDef Button)
 Returns the selected button state. More...
 
void BSP_PB_Init (Button_TypeDef Button, ButtonMode_TypeDef Button_Mode)
 Configures button GPIO and EXTI Line. More...
 

Detailed Description

Function Documentation

◆ BSP_GetVersion()

uint32_t BSP_GetVersion ( void  )

This method returns the STM32F769I Discovery BSP Driver revision.

This method returns the STM32F4 DISCO BSP Driver revision.

Return values
version0xXYZR (8bits for each decimal, R for RC)

Definition at line 168 of file stm32f769i_discovery.c.

◆ BSP_LED_DeInit()

void BSP_LED_DeInit ( Led_TypeDef  Led)

DeInit LEDs.

Parameters
LedLED to be configured. This parameter can be one of the following values:
  • LED1
  • LED2
Note
Led DeInit does not disable the GPIO clock
Return values
None

Definition at line 206 of file stm32f769i_discovery.c.

◆ BSP_LED_Init()

void BSP_LED_Init ( Led_TypeDef  Led)

Configures LED GPIO.

Parameters
LedLED to be configured. This parameter can be one of the following values:
  • LED1
  • LED2
Return values
None

Definition at line 181 of file stm32f769i_discovery.c.

◆ BSP_LED_Off()

void BSP_LED_Off ( Led_TypeDef  Led)

Turns selected LED Off.

Parameters
LedLED to be set off This parameter can be one of the following values:
  • LED1
  • LED2
Return values
None

Definition at line 239 of file stm32f769i_discovery.c.

◆ BSP_LED_On()

void BSP_LED_On ( Led_TypeDef  Led)

Turns selected LED On.

Parameters
LedLED to be set on This parameter can be one of the following values:
  • LED1
  • LED2
Return values
None

Definition at line 226 of file stm32f769i_discovery.c.

◆ BSP_LED_Toggle()

void BSP_LED_Toggle ( Led_TypeDef  Led)

Toggles the selected LED.

Parameters
LedLED to be toggled This parameter can be one of the following values:
  • LED1
  • LED2
Return values
None

Definition at line 252 of file stm32f769i_discovery.c.

◆ BSP_PB_DeInit()

void BSP_PB_DeInit ( Button_TypeDef  Button)

Push Button DeInit.

Parameters
ButtonButton to be configured This parameter can be one of the following values:
  • BUTTON_WAKEUP: Wakeup Push Button
  • BUTTON_USER: User Push Button
Note
PB DeInit does not disable the GPIO clock
Return values
None

Definition at line 313 of file stm32f769i_discovery.c.

◆ BSP_PB_GetState()

uint32_t BSP_PB_GetState ( Button_TypeDef  Button)

Returns the selected button state.

Returns the selected Button state.

Parameters
ButtonButton to be checked This parameter can be one of the following values:
  • BUTTON_WAKEUP: Wakeup Push Button
  • BUTTON_USER: User Push Button
Return values
TheButton GPIO pin value

Definition at line 331 of file stm32f769i_discovery.c.

◆ BSP_PB_Init()

void BSP_PB_Init ( Button_TypeDef  Button,
ButtonMode_TypeDef  Button_Mode 
)

Configures button GPIO and EXTI Line.

Configures Button GPIO and EXTI Line.

Parameters
ButtonButton to be configured This parameter can be one of the following values:
  • BUTTON_WAKEUP: Wakeup Push Button
  • BUTTON_USER: User Push Button
Button_ModeButton mode This parameter can be one of the following values:
  • 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 270 of file stm32f769i_discovery.c.



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