STM32F0xx_Nucleo BSP User Manual: LED Constants

STM32F0xx Nucleo

STM32F0xx_Nucleo BSP User Manual

Define for STM32F0XX_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 STM32F0XX_NUCLEO board.


Define Documentation

#define LED2_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 117 of file stm32f0xx_nucleo.h.

#define LED2_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 116 of file stm32f0xx_nucleo.h.

#define LED2_GPIO_PORT   GPIOA

Definition at line 115 of file stm32f0xx_nucleo.h.

#define LED2_PIN   GPIO_PIN_5

Definition at line 114 of file stm32f0xx_nucleo.h.

#define LEDn   1

Definition at line 112 of file stm32f0xx_nucleo.h.

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

Definition at line 120 of file stm32f0xx_nucleo.h.

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

Definition at line 119 of file stm32f0xx_nucleo.h.

Referenced by BSP_LED_Init().

Generated on Tue Oct 25 2016 18:35:27 for STM32F0xx_Nucleo BSP User Manual by   doxygen 1.7.6.1