STM32F411E-Discovery BSP User Manual: STM32F411E DISCOVERY HLOW LEVEL BUTTON

STM32F411E-Discovery BSP Drivers

STM32F411E-Discovery BSP User Manual
STM32F411E DISCOVERY HLOW LEVEL BUTTON

Defines

#define BUTTONn   1
#define KEY_BUTTON_PIN   GPIO_PIN_0
 Wakeup push-button.
#define KEY_BUTTON_GPIO_PORT   GPIOA
#define KEY_BUTTON_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define KEY_BUTTON_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define KEY_BUTTON_EXTI_IRQn   EXTI0_IRQn
#define BUTTONx_GPIO_CLK_ENABLE(__INDEX__)
#define BUTTONx_GPIO_CLK_DISABLE(__INDEX__)

Define Documentation

#define BUTTONn   1

Definition at line 144 of file stm32f411e_discovery.h.

#define BUTTONx_GPIO_CLK_DISABLE (   __INDEX__)
Value:
do{if((__INDEX__) == 0) KEY_BUTTON_GPIO_CLK_DISABLE(); \
                                                 }while(0)

Definition at line 157 of file stm32f411e_discovery.h.

#define BUTTONx_GPIO_CLK_ENABLE (   __INDEX__)
Value:
do{if((__INDEX__) == 0) KEY_BUTTON_GPIO_CLK_ENABLE(); \
                                                 }while(0)

Definition at line 155 of file stm32f411e_discovery.h.

Referenced by BSP_PB_Init().

#define KEY_BUTTON_EXTI_IRQn   EXTI0_IRQn

Definition at line 153 of file stm32f411e_discovery.h.

#define KEY_BUTTON_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 152 of file stm32f411e_discovery.h.

#define KEY_BUTTON_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 151 of file stm32f411e_discovery.h.

#define KEY_BUTTON_GPIO_PORT   GPIOA

Definition at line 150 of file stm32f411e_discovery.h.

#define KEY_BUTTON_PIN   GPIO_PIN_0

Wakeup push-button.

Definition at line 149 of file stm32f411e_discovery.h.

Generated on Fri Jan 20 2017 11:38:17 for STM32F411E-Discovery BSP User Manual by   doxygen 1.7.6.1