_BSP_User_Manual: LED constants

STM32VL Discovery BSP Driver

_BSP_User_Manual

Defines

#define LEDn   2
#define LED3_PIN   GPIO_PIN_9
#define LED3_GPIO_PORT   GPIOC
#define LED3_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
#define LED3_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOC_CLK_DISABLE()
#define LED4_PIN   GPIO_PIN_8
#define LED4_GPIO_PORT   GPIOC
#define LED4_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
#define LED4_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOC_CLK_DISABLE()
#define LEDx_GPIO_CLK_ENABLE(__INDEX__)
#define LEDx_GPIO_CLK_DISABLE(__INDEX__)   (((__INDEX__) == 0) ? LED3_GPIO_CLK_DISABLE() : LED4_GPIO_CLK_DISABLE())

Define Documentation

#define LED3_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOC_CLK_DISABLE()

Definition at line 103 of file stm32vl_discovery.h.

#define LED3_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 102 of file stm32vl_discovery.h.

#define LED3_GPIO_PORT   GPIOC

Definition at line 101 of file stm32vl_discovery.h.

#define LED3_PIN   GPIO_PIN_9

Definition at line 100 of file stm32vl_discovery.h.

#define LED4_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOC_CLK_DISABLE()

Definition at line 108 of file stm32vl_discovery.h.

#define LED4_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 107 of file stm32vl_discovery.h.

#define LED4_GPIO_PORT   GPIOC

Definition at line 106 of file stm32vl_discovery.h.

#define LED4_PIN   GPIO_PIN_8

Definition at line 105 of file stm32vl_discovery.h.

#define LEDn   2

Definition at line 98 of file stm32vl_discovery.h.

#define LEDx_GPIO_CLK_DISABLE (   __INDEX__)    (((__INDEX__) == 0) ? LED3_GPIO_CLK_DISABLE() : LED4_GPIO_CLK_DISABLE())

Definition at line 113 of file stm32vl_discovery.h.

#define LEDx_GPIO_CLK_ENABLE (   __INDEX__)
Value:
do { if((__INDEX__) == 0) LED3_GPIO_CLK_ENABLE(); \
                                               else LED4_GPIO_CLK_ENABLE(); } while(0)

Definition at line 110 of file stm32vl_discovery.h.

Referenced by BSP_LED_Init().

Generated on Thu Dec 11 2014 17:12:21 for _BSP_User_Manual by   doxygen 1.7.5.1