STM32F3-Discovery BSP User Manual: STM32F3-DISCOVERY BUTTON

STM32F3-Discovery BSP Drivers

STM32F3-Discovery BSP User Manual
STM32F3-DISCOVERY BUTTON

Defines

#define BUTTONn   1
#define USER_BUTTON_PIN   GPIO_PIN_0
 push-button
#define USER_BUTTON_GPIO_PORT   GPIOA
#define USER_BUTTON_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define USER_BUTTON_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define USER_BUTTON_EXTI_IRQn   EXTI0_IRQn
#define BUTTONx_GPIO_CLK_ENABLE(__BUTTON__)   do { if ((__BUTTON__) == BUTTON_USER) USER_BUTTON_GPIO_CLK_ENABLE();} while(0)
#define BUTTONx_GPIO_CLK_DISABLE(__BUTTON__)   (((__BUTTON__) == BUTTON_USER) ? USER_BUTTON_GPIO_CLK_DISABLE() : 0 )

Define Documentation

#define BUTTONn   1

Definition at line 206 of file stm32f3_discovery.h.

#define BUTTONx_GPIO_CLK_DISABLE (   __BUTTON__)    (((__BUTTON__) == BUTTON_USER) ? USER_BUTTON_GPIO_CLK_DISABLE() : 0 )

Definition at line 219 of file stm32f3_discovery.h.

#define BUTTONx_GPIO_CLK_ENABLE (   __BUTTON__)    do { if ((__BUTTON__) == BUTTON_USER) USER_BUTTON_GPIO_CLK_ENABLE();} while(0)

Definition at line 217 of file stm32f3_discovery.h.

Referenced by BSP_PB_Init().

#define USER_BUTTON_EXTI_IRQn   EXTI0_IRQn

Definition at line 215 of file stm32f3_discovery.h.

#define USER_BUTTON_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 214 of file stm32f3_discovery.h.

#define USER_BUTTON_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 213 of file stm32f3_discovery.h.

#define USER_BUTTON_GPIO_PORT   GPIOA

Definition at line 212 of file stm32f3_discovery.h.

#define USER_BUTTON_PIN   GPIO_PIN_0

push-button

Definition at line 211 of file stm32f3_discovery.h.

Generated on Wed May 31 2017 10:47:41 for STM32F3-Discovery BSP User Manual by   doxygen 1.7.6.1