STM32L1xx_Nucleo BSP User Manual: LED Constants

STM32L100 / STM32L151 / STM32L152 / STM32L162 Nucleo BSP

STM32L1xx_Nucleo BSP User Manual

Define for STM32L1xx_NUCLEO board. More...

Defines

#define LEDn   1
#define LED2_PIN   GPIO_PIN_5
#define LED2_GPIO_PORT   GPIOA
#define LED2_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define LED2_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define LEDx_GPIO_CLK_ENABLE(__INDEX__)   do { if((__INDEX__) == 0) LED2_GPIO_CLK_ENABLE();} while(0)
#define LEDx_GPIO_CLK_DISABLE(__INDEX__)   (((__INDEX__) == 0) ? LED2_GPIO_CLK_DISABLE() : 0)

Detailed Description

Define for STM32L1xx_NUCLEO board.


Define Documentation

#define LED2_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 118 of file stm32l1xx_nucleo.h.

#define LED2_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 117 of file stm32l1xx_nucleo.h.

#define LED2_GPIO_PORT   GPIOA

Definition at line 116 of file stm32l1xx_nucleo.h.

#define LED2_PIN   GPIO_PIN_5

Definition at line 115 of file stm32l1xx_nucleo.h.

#define LEDn   1

Definition at line 113 of file stm32l1xx_nucleo.h.

#define LEDx_GPIO_CLK_DISABLE (   __INDEX__)    (((__INDEX__) == 0) ? LED2_GPIO_CLK_DISABLE() : 0)

Definition at line 121 of file stm32l1xx_nucleo.h.

#define LEDx_GPIO_CLK_ENABLE (   __INDEX__)    do { if((__INDEX__) == 0) LED2_GPIO_CLK_ENABLE();} while(0)

Definition at line 120 of file stm32l1xx_nucleo.h.

Referenced by BSP_LED_Init().

Generated on Sun Apr 16 2017 21:55:49 for STM32L1xx_Nucleo BSP User Manual by   doxygen 1.7.6.1