STM32F1xx_Nucleo BSP User Manual: LED Constants

STM32F103, STM32F107, STM32F151, STM32F152 Nucleo BSP Drivers

STM32F1xx_Nucleo BSP User Manual

Define for STM32F1xx_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 STM32F1xx_NUCLEO board.


Define Documentation

#define LED2_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 117 of file stm32f1xx_nucleo.h.

#define LED2_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 116 of file stm32f1xx_nucleo.h.

#define LED2_GPIO_PORT   GPIOA

Definition at line 115 of file stm32f1xx_nucleo.h.

#define LED2_PIN   GPIO_PIN_5

Definition at line 114 of file stm32f1xx_nucleo.h.

#define LEDn   1

Definition at line 112 of file stm32f1xx_nucleo.h.

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

Definition at line 120 of file stm32f1xx_nucleo.h.

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

Definition at line 119 of file stm32f1xx_nucleo.h.

Referenced by BSP_LED_Init().

Generated on Fri Mar 3 2017 19:17:51 for STM32F1xx_Nucleo BSP User Manual by   doxygen 1.7.6.1