STM32F469I-Discovery BSP User Manual: STM32469I Discovery LOW LEVEL Exported Functions

STM32F469I-Discovery BSP Drivers

STM32F469I-Discovery BSP User Manual
STM32469I Discovery LOW LEVEL Exported Functions

Functions

uint32_t BSP_GetVersion (void)
 This method returns the STM32469I Discovery BSP Driver revision.
void BSP_LED_Init (Led_TypeDef Led)
 Configures LED GPIO.
void BSP_LED_DeInit (Led_TypeDef Led)
 DeInit LEDs.
void BSP_LED_On (Led_TypeDef Led)
 Turns selected LED On.
void BSP_LED_Off (Led_TypeDef Led)
 Turns selected LED Off.
void BSP_LED_Toggle (Led_TypeDef Led)
 Toggles the selected LED.
void BSP_PB_Init (Button_TypeDef Button, ButtonMode_TypeDef Button_Mode)
 Configures button GPIO and EXTI Line.
void BSP_PB_DeInit (Button_TypeDef Button)
 Push Button DeInit.
uint32_t BSP_PB_GetState (Button_TypeDef Button)
 Returns the selected button state.

Function Documentation

uint32_t BSP_GetVersion ( void  )

This method returns the STM32469I Discovery BSP Driver revision.

Return values:
version,:0xXYZR (8bits for each decimal, R for RC)

Definition at line 169 of file stm32469i_discovery.c.

References __STM32469I_DISCOVERY_BSP_VERSION.

void BSP_LED_DeInit ( Led_TypeDef  Led)

DeInit LEDs.

Parameters:
Led,:LED to be configured. This parameter can be one of the following values:
  • LED1
  • LED2
  • LED3
  • LED4
Note:
Led DeInit does not disable the GPIO clock nor disable the Mfx

Definition at line 234 of file stm32469i_discovery.c.

References GPIO_PIN, GPIO_PORT, and LED4.

void BSP_LED_Init ( Led_TypeDef  Led)

Configures LED GPIO.

Parameters:
Led,:LED to be configured. This parameter can be one of the following values:
  • LED1
  • LED2
  • LED3
  • LED4

Definition at line 183 of file stm32469i_discovery.c.

References GPIO_PIN, GPIO_PORT, LED1, LED1_GPIO_CLK_ENABLE, LED2, LED2_GPIO_CLK_ENABLE, LED3, LED3_GPIO_CLK_ENABLE, LED4, and LED4_GPIO_CLK_ENABLE.

void BSP_LED_Off ( Led_TypeDef  Led)

Turns selected LED Off.

Parameters:
Led,:LED to be set off This parameter can be one of the following values:
  • LED1
  • LED2
  • LED3
  • LED4

Definition at line 277 of file stm32469i_discovery.c.

References GPIO_PIN, GPIO_PORT, and LED4.

void BSP_LED_On ( Led_TypeDef  Led)

Turns selected LED On.

Parameters:
Led,:LED to be set on This parameter can be one of the following values:
  • LED1
  • LED2
  • LED3
  • LED4

Definition at line 259 of file stm32469i_discovery.c.

References GPIO_PIN, GPIO_PORT, and LED4.

void BSP_LED_Toggle ( Led_TypeDef  Led)

Toggles the selected LED.

Parameters:
Led,:LED to be toggled This parameter can be one of the following values:
  • LED1
  • LED2
  • LED3
  • LED4

Definition at line 294 of file stm32469i_discovery.c.

References GPIO_PIN, GPIO_PORT, and LED4.

void BSP_PB_DeInit ( Button_TypeDef  Button)

Push Button DeInit.

Parameters:
Button,:Button 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

Definition at line 356 of file stm32469i_discovery.c.

References BUTTON_IRQn, BUTTON_PIN, and BUTTON_PORT.

uint32_t BSP_PB_GetState ( Button_TypeDef  Button)

Returns the selected button state.

Parameters:
Button,:Button 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 374 of file stm32469i_discovery.c.

References BUTTON_PIN, and BUTTON_PORT.

void BSP_PB_Init ( Button_TypeDef  Button,
ButtonMode_TypeDef  Button_Mode 
)

Configures button GPIO and EXTI Line.

Parameters:
Button,:Button to be configured This parameter can be one of the following values:
  • BUTTON_WAKEUP: Wakeup Push Button
  • BUTTON_USER: User Push Button
Button_Mode,:Button 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

Definition at line 314 of file stm32469i_discovery.c.

References BUTTON_GPIO_CLK_ENABLE, BUTTON_IRQn, BUTTON_MODE_EXTI, BUTTON_MODE_GPIO, BUTTON_PIN, and BUTTON_PORT.

Generated on Wed Jan 13 2016 10:58:46 for STM32F469I-Discovery BSP User Manual by   doxygen 1.7.6.1