STM32L4xx_Nucleo_32 BSP User Manual: Exported Functions

STM32L4xx Nucleo 32 BSP Drivers

STM32L4xx_Nucleo_32 BSP User Manual
Exported Functions

Functions

uint32_t BSP_GetVersion (void)
 This method returns the STM32L4XX NUCLEO BSP Driver revision.
void BSP_LED_Init (Led_TypeDef Led)
 Configures LED GPIO.
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.

Function Documentation

uint32_t BSP_GetVersion ( void  )

This method returns the STM32L4XX NUCLEO BSP Driver revision.

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

Definition at line 116 of file stm32l4xx_nucleo_32.c.

References __STM32L4XX_NUCLEO_32_BSP_VERSION.

void BSP_LED_Init ( Led_TypeDef  Led)

Configures LED GPIO.

Parameters:
Led,:Specifies the Led to be configured. This parameter can be one of following parameters:
  • LED3
Return values:
None

Definition at line 128 of file stm32l4xx_nucleo_32.c.

References LED_PIN, LED_PORT, and LEDx_GPIO_CLK_ENABLE.

void BSP_LED_Off ( Led_TypeDef  Led)

Turns selected LED Off.

Parameters:
Led,:Specifies the Led to be set off. This parameter can be one of following parameters:
  • LED3
Return values:
None

Definition at line 164 of file stm32l4xx_nucleo_32.c.

References LED_PIN, and LED_PORT.

void BSP_LED_On ( Led_TypeDef  Led)

Turns selected LED On.

Parameters:
Led,:Specifies the Led to be set on. This parameter can be one of following parameters:
  • LED3
Return values:
None

Definition at line 152 of file stm32l4xx_nucleo_32.c.

References LED_PIN, and LED_PORT.

void BSP_LED_Toggle ( Led_TypeDef  Led)

Toggles the selected LED.

Parameters:
Led,:Specifies the Led to be toggled. This parameter can be one of following parameters:
  • LED3
Return values:
None

Definition at line 176 of file stm32l4xx_nucleo_32.c.

References LED_PIN, and LED_PORT.

Generated on Tue Feb 23 2016 16:08:48 for STM32L4xx_Nucleo_32 BSP User Manual by   doxygen 1.7.6.1