STM3210E_EVAL BSP User Manual: STM3210E EVAL LED

STM3210E_EVAL BSP

STM3210E_EVAL BSP User Manual

Define for STM3210E_EVAL board. More...

Defines

#define LEDn   4
#define LED1_PIN   GPIO_PIN_6 /* PF.06*/
#define LED1_GPIO_PORT   GPIOF
#define LED1_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOF_CLK_ENABLE()
#define LED1_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOF_CLK_DISABLE()
#define LED2_PIN   GPIO_PIN_7 /* PF.07*/
#define LED2_GPIO_PORT   GPIOF
#define LED2_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOF_CLK_ENABLE()
#define LED2_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOF_CLK_DISABLE()
#define LED3_PIN   GPIO_PIN_8 /* PF.08*/
#define LED3_GPIO_PORT   GPIOF
#define LED3_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOF_CLK_ENABLE()
#define LED3_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOF_CLK_DISABLE()
#define LED4_PIN   GPIO_PIN_9 /* PF.09*/
#define LED4_GPIO_PORT   GPIOF
#define LED4_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOF_CLK_ENABLE()
#define LED4_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOF_CLK_DISABLE()
#define LEDx_GPIO_CLK_ENABLE(__LED__)
#define LEDx_GPIO_CLK_DISABLE(__LED__)

Detailed Description

Define for STM3210E_EVAL board.


Define Documentation

#define LED1_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOF_CLK_DISABLE()

Definition at line 161 of file stm3210e_eval.h.

#define LED1_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOF_CLK_ENABLE()

Definition at line 160 of file stm3210e_eval.h.

#define LED1_GPIO_PORT   GPIOF

Definition at line 159 of file stm3210e_eval.h.

#define LED1_PIN   GPIO_PIN_6 /* PF.06*/

Definition at line 158 of file stm3210e_eval.h.

#define LED2_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOF_CLK_DISABLE()

Definition at line 166 of file stm3210e_eval.h.

#define LED2_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOF_CLK_ENABLE()

Definition at line 165 of file stm3210e_eval.h.

#define LED2_GPIO_PORT   GPIOF

Definition at line 164 of file stm3210e_eval.h.

#define LED2_PIN   GPIO_PIN_7 /* PF.07*/

Definition at line 163 of file stm3210e_eval.h.

#define LED3_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOF_CLK_DISABLE()

Definition at line 172 of file stm3210e_eval.h.

#define LED3_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOF_CLK_ENABLE()

Definition at line 171 of file stm3210e_eval.h.

#define LED3_GPIO_PORT   GPIOF

Definition at line 170 of file stm3210e_eval.h.

#define LED3_PIN   GPIO_PIN_8 /* PF.08*/

Definition at line 169 of file stm3210e_eval.h.

#define LED4_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOF_CLK_DISABLE()

Definition at line 178 of file stm3210e_eval.h.

#define LED4_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOF_CLK_ENABLE()

Definition at line 177 of file stm3210e_eval.h.

#define LED4_GPIO_PORT   GPIOF

Definition at line 176 of file stm3210e_eval.h.

#define LED4_PIN   GPIO_PIN_9 /* PF.09*/

Definition at line 175 of file stm3210e_eval.h.

#define LEDn   4

Definition at line 156 of file stm3210e_eval.h.

#define LEDx_GPIO_CLK_DISABLE (   __LED__)
Value:
(((__LED__) == LED1) ? LED1_GPIO_CLK_DISABLE() :\
                                          ((__LED__) == LED2) ? LED2_GPIO_CLK_DISABLE() :\
                                          ((__LED__) == LED3) ? LED3_GPIO_CLK_DISABLE() :\
                                          ((__LED__) == LED4) ? LED4_GPIO_CLK_DISABLE() : 0 )

Definition at line 185 of file stm3210e_eval.h.

#define LEDx_GPIO_CLK_ENABLE (   __LED__)
Value:
do { if ((__LED__) == LED1) LED1_GPIO_CLK_ENABLE(); else\
                                           if ((__LED__) == LED2) LED2_GPIO_CLK_ENABLE(); else \
                                           if ((__LED__) == LED3) LED3_GPIO_CLK_ENABLE(); else\
                                           if ((__LED__) == LED4) LED4_GPIO_CLK_ENABLE();} while(0)

Definition at line 180 of file stm3210e_eval.h.

Referenced by BSP_LED_Init().

Generated on Fri Feb 24 2017 17:15:12 for STM3210E_EVAL BSP User Manual by   doxygen 1.7.6.1