STM32L0xx_Nucleo BSP User Manual: STM32L0XX_NUCLEO_LOW_LEVEL_LED

STM32L0xx Nucleo BSP Drivers

STM32L0xx_Nucleo BSP User Manual
STM32L0XX_NUCLEO_LOW_LEVEL_LED

Define for STM32L0XX_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 STM32L0XX_NUCLEO board.


Define Documentation

#define LED2_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 118 of file stm32l0xx_nucleo.h.

#define LED2_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 117 of file stm32l0xx_nucleo.h.

#define LED2_GPIO_PORT   GPIOA

Definition at line 116 of file stm32l0xx_nucleo.h.

#define LED2_PIN   GPIO_PIN_5

Definition at line 115 of file stm32l0xx_nucleo.h.

#define LEDn   1

Definition at line 113 of file stm32l0xx_nucleo.h.

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

Definition at line 121 of file stm32l0xx_nucleo.h.

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

Definition at line 120 of file stm32l0xx_nucleo.h.

Referenced by BSP_LED_Init().

Generated on Mon Aug 28 2017 14:45:03 for STM32L0xx_Nucleo BSP User Manual by   doxygen 1.7.6.1