STM32VL-Discovery BSP User Manual: STM32VL DISCOVERY LED

STM32VL Discovery BSP

STM32VL-Discovery BSP User Manual

Define for STM32VL-Discovery board. More...

Defines

#define LEDn   2
#define LED3_PIN   GPIO_PIN_9 /* PC.09 */
#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 /* PC.08 */
#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())

Detailed Description

Define for STM32VL-Discovery board.


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 /* PC.09 */

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 /* PC.08 */

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 Fri Mar 3 2017 19:32:58 for STM32VL-Discovery BSP User Manual by   doxygen 1.7.6.1