STM32F401-Discovery BSP User Manual
|
Define for STM32F401_DISCOVERY board. More...
Defines | |
#define | LEDn 4 |
#define | LED4_PIN GPIO_PIN_12 |
#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 | LED3_PIN GPIO_PIN_13 |
#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 | LED5_PIN GPIO_PIN_14 |
#define | LED5_GPIO_PORT GPIOD |
#define | LED5_GPIO_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | LED5_GPIO_CLK_DISABLE() __HAL_RCC_GPIOD_CLK_DISABLE() |
#define | LED6_PIN GPIO_PIN_15 |
#define | LED6_GPIO_PORT GPIOD |
#define | LED6_GPIO_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | LED6_GPIO_CLK_DISABLE() __HAL_RCC_GPIOD_CLK_DISABLE() |
#define | LEDx_GPIO_CLK_ENABLE(__INDEX__) |
#define | LEDx_GPIO_CLK_DISABLE(__INDEX__) |
Detailed Description
Define for STM32F401_DISCOVERY board.
Define Documentation
#define LED3_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOD_CLK_DISABLE() |
Definition at line 112 of file stm32f401_discovery.h.
#define LED3_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 111 of file stm32f401_discovery.h.
#define LED3_GPIO_PORT GPIOD |
Definition at line 110 of file stm32f401_discovery.h.
#define LED3_PIN GPIO_PIN_13 |
Definition at line 109 of file stm32f401_discovery.h.
#define LED4_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOD_CLK_DISABLE() |
Definition at line 106 of file stm32f401_discovery.h.
#define LED4_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 105 of file stm32f401_discovery.h.
#define LED4_GPIO_PORT GPIOD |
Definition at line 104 of file stm32f401_discovery.h.
#define LED4_PIN GPIO_PIN_12 |
Definition at line 103 of file stm32f401_discovery.h.
#define LED5_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOD_CLK_DISABLE() |
Definition at line 118 of file stm32f401_discovery.h.
#define LED5_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 117 of file stm32f401_discovery.h.
#define LED5_GPIO_PORT GPIOD |
Definition at line 116 of file stm32f401_discovery.h.
#define LED5_PIN GPIO_PIN_14 |
Definition at line 115 of file stm32f401_discovery.h.
#define LED6_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOD_CLK_DISABLE() |
Definition at line 124 of file stm32f401_discovery.h.
#define LED6_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 123 of file stm32f401_discovery.h.
#define LED6_GPIO_PORT GPIOD |
Definition at line 122 of file stm32f401_discovery.h.
#define LED6_PIN GPIO_PIN_15 |
Definition at line 121 of file stm32f401_discovery.h.
#define LEDn 4 |
Definition at line 101 of file stm32f401_discovery.h.
#define LEDx_GPIO_CLK_DISABLE | ( | __INDEX__ | ) |
do{if((__INDEX__) == 0) LED4_GPIO_CLK_DISABLE(); else \ if((__INDEX__) == 1) LED3_GPIO_CLK_DISABLE(); else \ if((__INDEX__) == 2) LED5_GPIO_CLK_DISABLE(); else \ if((__INDEX__) == 3) LED6_GPIO_CLK_DISABLE(); \ }while(0)
Definition at line 132 of file stm32f401_discovery.h.
#define LEDx_GPIO_CLK_ENABLE | ( | __INDEX__ | ) |
do{if((__INDEX__) == 0) LED4_GPIO_CLK_ENABLE(); else \ if((__INDEX__) == 1) LED3_GPIO_CLK_ENABLE(); else \ if((__INDEX__) == 2) LED5_GPIO_CLK_ENABLE(); else \ if((__INDEX__) == 3) LED6_GPIO_CLK_ENABLE(); \ }while(0)
Definition at line 126 of file stm32f401_discovery.h.
Referenced by BSP_LED_Init().
Generated on Thu Jan 19 2017 16:53:47 for STM32F401-Discovery BSP User Manual by 1.7.6.1