STM32072B_EVAL BSP User Manual
|
Define for STM32072B_EVAL board. More...
Defines | |
#define | LEDn 4 |
#define | LED1_PIN GPIO_PIN_8 |
#define | LED1_GPIO_PORT GPIOD |
#define | LED1_GPIO_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | LED1_GPIO_CLK_DISABLE() __HAL_RCC_GPIOD_CLK_DISABLE() |
#define | LED2_PIN GPIO_PIN_9 |
#define | LED2_GPIO_PORT GPIOD |
#define | LED2_GPIO_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | LED2_GPIO_CLK_DISABLE() __HAL_RCC_GPIOD_CLK_DISABLE() |
#define | LED3_PIN GPIO_PIN_10 |
#define | LED3_GPIO_PORT GPIOD |
#define | LED3_GPIO_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | LED3_GPIO_CLK_DISABLE() __HAL_RCC_GPIOD_CLK_DISABLE() |
#define | LED4_PIN GPIO_PIN_11 |
#define | LED4_GPIO_PORT GPIOD |
#define | LED4_GPIO_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | LED4_GPIO_CLK_DISABLE() __HAL_RCC_GPIOD_CLK_DISABLE() |
#define | LEDx_GPIO_CLK_ENABLE(__LED__) |
#define | LEDx_GPIO_CLK_DISABLE(__LED__) |
Detailed Description
Define for STM32072B_EVAL board.
Define Documentation
#define LED1_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOD_CLK_DISABLE() |
Definition at line 144 of file stm32072b_eval.h.
#define LED1_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 143 of file stm32072b_eval.h.
#define LED1_GPIO_PORT GPIOD |
Definition at line 142 of file stm32072b_eval.h.
#define LED1_PIN GPIO_PIN_8 |
Definition at line 141 of file stm32072b_eval.h.
#define LED2_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOD_CLK_DISABLE() |
Definition at line 149 of file stm32072b_eval.h.
#define LED2_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 148 of file stm32072b_eval.h.
#define LED2_GPIO_PORT GPIOD |
Definition at line 147 of file stm32072b_eval.h.
#define LED2_PIN GPIO_PIN_9 |
Definition at line 146 of file stm32072b_eval.h.
#define LED3_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOD_CLK_DISABLE() |
Definition at line 154 of file stm32072b_eval.h.
#define LED3_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 153 of file stm32072b_eval.h.
#define LED3_GPIO_PORT GPIOD |
Definition at line 152 of file stm32072b_eval.h.
#define LED3_PIN GPIO_PIN_10 |
Definition at line 151 of file stm32072b_eval.h.
#define LED4_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOD_CLK_DISABLE() |
Definition at line 159 of file stm32072b_eval.h.
#define LED4_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 158 of file stm32072b_eval.h.
#define LED4_GPIO_PORT GPIOD |
Definition at line 157 of file stm32072b_eval.h.
#define LED4_PIN GPIO_PIN_11 |
Definition at line 156 of file stm32072b_eval.h.
#define LEDn 4 |
Definition at line 139 of file stm32072b_eval.h.
#define LEDx_GPIO_CLK_DISABLE | ( | __LED__ | ) |
(((__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 166 of file stm32072b_eval.h.
#define LEDx_GPIO_CLK_ENABLE | ( | __LED__ | ) |
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 161 of file stm32072b_eval.h.
Referenced by BSP_LED_Init().
Generated on Wed Jul 5 2017 08:56:11 for STM32072B_EVAL BSP User Manual by 1.7.6.1