STM32F3348-Discovery BSP User Manual: STM32F3348-DISCOVERY LED

STM32F3348-Discovery BSP Drivers

STM32F3348-Discovery BSP User Manual
STM32F3348-DISCOVERY LED

Define for STM32F3348_DISCOVERY board. More...

Defines

#define LEDn   4
#define LED3_PIN   GPIO_PIN_6
#define LED3_GPIO_PORT   GPIOB
#define LED3_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define LED3_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define LED4_PIN   GPIO_PIN_8
#define LED4_GPIO_PORT   GPIOB
#define LED4_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define LED4_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define LED5_PIN   GPIO_PIN_9
#define LED5_GPIO_PORT   GPIOB
#define LED5_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define LED5_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define LED6_PIN   GPIO_PIN_7
#define LED6_GPIO_PORT   GPIOB
#define LED6_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define LED6_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define LEDx_GPIO_CLK_ENABLE(__LED__)
#define LEDx_GPIO_CLK_DISABLE(__LED__)

Detailed Description

Define for STM32F3348_DISCOVERY board.


Define Documentation

#define LED3_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 134 of file stm32f3348_discovery.h.

#define LED3_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 133 of file stm32f3348_discovery.h.

#define LED3_GPIO_PORT   GPIOB

Definition at line 132 of file stm32f3348_discovery.h.

#define LED3_PIN   GPIO_PIN_6

Definition at line 131 of file stm32f3348_discovery.h.

#define LED4_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 139 of file stm32f3348_discovery.h.

#define LED4_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 138 of file stm32f3348_discovery.h.

#define LED4_GPIO_PORT   GPIOB

Definition at line 137 of file stm32f3348_discovery.h.

#define LED4_PIN   GPIO_PIN_8

Definition at line 136 of file stm32f3348_discovery.h.

#define LED5_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 144 of file stm32f3348_discovery.h.

#define LED5_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 143 of file stm32f3348_discovery.h.

#define LED5_GPIO_PORT   GPIOB

Definition at line 142 of file stm32f3348_discovery.h.

#define LED5_PIN   GPIO_PIN_9

Definition at line 141 of file stm32f3348_discovery.h.

#define LED6_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 149 of file stm32f3348_discovery.h.

#define LED6_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 148 of file stm32f3348_discovery.h.

#define LED6_GPIO_PORT   GPIOB

Definition at line 147 of file stm32f3348_discovery.h.

#define LED6_PIN   GPIO_PIN_7

Definition at line 146 of file stm32f3348_discovery.h.

#define LEDn   4

Definition at line 129 of file stm32f3348_discovery.h.

#define LEDx_GPIO_CLK_DISABLE (   __LED__)
Value:
(((__LED__) == LED3) ? LED3_GPIO_CLK_DISABLE() :\
                                         ((__LED__) == LED4) ? LED4_GPIO_CLK_DISABLE() :\
                                         ((__LED__) == LED5) ? LED5_GPIO_CLK_DISABLE() :\
                                         ((__LED__) == LED6) ? LED6_GPIO_CLK_DISABLE() : 0 )

Definition at line 158 of file stm32f3348_discovery.h.

#define LEDx_GPIO_CLK_ENABLE (   __LED__)
Value:
do { if ((__LED__) == LED3) LED3_GPIO_CLK_ENABLE(); else\
                                             if ((__LED__) == LED4) LED4_GPIO_CLK_ENABLE(); else\
                                             if ((__LED__) == LED5) LED5_GPIO_CLK_ENABLE(); else\
                                             if ((__LED__) == LED6) LED6_GPIO_CLK_ENABLE();} while(0)

Definition at line 153 of file stm32f3348_discovery.h.

Referenced by BSP_LED_Init().

Generated on Wed May 31 2017 10:51:50 for STM32F3348-Discovery BSP User Manual by   doxygen 1.7.6.1