STM32L1xx_Nucleo BSP User Manual
|
Functions | |
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. |
Function Documentation
void BSP_LED_DeInit | ( | Led_TypeDef | Led | ) |
DeInit LEDs.
- Parameters:
-
Led,: LED to be de-init. This parameter can be one of the following values: - LED2
- Note:
- Led DeInit does not disable the GPIO clock nor disable the Mfx
- Return values:
-
None
Definition at line 204 of file stm32l1xx_nucleo.c.
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: - LED2
- Return values:
-
None
Definition at line 177 of file stm32l1xx_nucleo.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: - LED2
- Return values:
-
None
Definition at line 234 of file stm32l1xx_nucleo.c.
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: - LED2
- Return values:
-
None
Definition at line 222 of file stm32l1xx_nucleo.c.
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: - LED2
- Return values:
-
None
Definition at line 246 of file stm32l1xx_nucleo.c.
Generated on Sun Apr 16 2017 21:55:49 for STM32L1xx_Nucleo BSP User Manual by 1.7.6.1