STM32L4xx_Nucleo BSP User Manual: LED Constants

STM32L4xx Nucleo

STM32L4xx_Nucleo BSP User Manual

Define for STM32L4XX_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(__LED__)   do { if((__LED__) == LED2) { LED2_GPIO_CLK_ENABLE(); } } while(0)
#define LEDx_GPIO_CLK_DISABLE(__LED__)   do { if((__LED__) == LED2) { LED2_GPIO_CLK_DISABLE(); } } while(0)

Detailed Description

Define for STM32L4XX_NUCLEO board.


Define Documentation

#define LED2_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 118 of file stm32l4xx_nucleo.h.

#define LED2_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 117 of file stm32l4xx_nucleo.h.

#define LED2_GPIO_PORT   GPIOA

Definition at line 116 of file stm32l4xx_nucleo.h.

#define LED2_PIN   GPIO_PIN_5

Definition at line 115 of file stm32l4xx_nucleo.h.

#define LEDn   1

Definition at line 113 of file stm32l4xx_nucleo.h.

#define LEDx_GPIO_CLK_DISABLE (   __LED__)    do { if((__LED__) == LED2) { LED2_GPIO_CLK_DISABLE(); } } while(0)

Definition at line 122 of file stm32l4xx_nucleo.h.

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

Definition at line 120 of file stm32l4xx_nucleo.h.

Referenced by BSP_LED_Init().

Generated on Fri Jun 19 2015 16:52:00 for STM32L4xx_Nucleo BSP User Manual by   doxygen 1.7.6.1