STM32F0308-Discovery BSP User Manual
|
Define for STM32F0308_DISCOVERY board. More...
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(__LED__) |
#define | LEDx_GPIO_CLK_DISABLE(__LED__) |
Detailed Description
Define for STM32F0308_DISCOVERY board.
Define Documentation
#define LED3_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOC_CLK_DISABLE() |
Definition at line 112 of file stm32f0308_discovery.h.
#define LED3_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOC_CLK_ENABLE() |
Definition at line 111 of file stm32f0308_discovery.h.
#define LED3_GPIO_PORT GPIOC |
Definition at line 110 of file stm32f0308_discovery.h.
#define LED3_PIN GPIO_PIN_9 |
Definition at line 109 of file stm32f0308_discovery.h.
#define LED4_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOC_CLK_DISABLE() |
Definition at line 117 of file stm32f0308_discovery.h.
#define LED4_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOC_CLK_ENABLE() |
Definition at line 116 of file stm32f0308_discovery.h.
#define LED4_GPIO_PORT GPIOC |
Definition at line 115 of file stm32f0308_discovery.h.
#define LED4_PIN GPIO_PIN_8 |
Definition at line 114 of file stm32f0308_discovery.h.
#define LEDn 2 |
Definition at line 107 of file stm32f0308_discovery.h.
#define LEDx_GPIO_CLK_DISABLE | ( | __LED__ | ) |
Value:
(((__LED__) == LED3) ? LED3_GPIO_CLK_DISABLE() :\ ((__LED__) == LED4) ? LED4_GPIO_CLK_DISABLE() : 0 )
Definition at line 122 of file stm32f0308_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();} while(0)
Definition at line 119 of file stm32f0308_discovery.h.
Referenced by BSP_LED_Init().
Generated on Wed Jul 5 2017 09:26:24 for STM32F0308-Discovery BSP User Manual by 1.7.6.1