STM32F1xx_Nucleo BSP User Manual: BUTTON Constants

STM32F103, STM32F107, STM32F151, STM32F152 Nucleo BSP Drivers

STM32F1xx_Nucleo BSP User Manual
BUTTON Constants

Defines

#define BUTTONn   1
#define USER_BUTTON_PIN   GPIO_PIN_13
 User push-button.
#define USER_BUTTON_GPIO_PORT   GPIOC
#define USER_BUTTON_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
#define USER_BUTTON_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOC_CLK_DISABLE()
#define USER_BUTTON_EXTI_IRQn   EXTI15_10_IRQn
#define KEY_BUTTON_PIN   USER_BUTTON_PIN
#define KEY_BUTTON_GPIO_PORT   USER_BUTTON_GPIO_PORT
#define KEY_BUTTON_GPIO_CLK_ENABLE()   USER_BUTTON_GPIO_CLK_ENABLE()
#define KEY_BUTTON_GPIO_CLK_DISABLE()   USER_BUTTON_GPIO_CLK_DISABLE()
#define KEY_BUTTON_EXTI_IRQn   USER_BUTTON_EXTI_IRQn
#define BUTTONx_GPIO_CLK_ENABLE(__INDEX__)   do { if((__INDEX__) == 0) USER_BUTTON_GPIO_CLK_ENABLE();} while(0)
#define BUTTONx_GPIO_CLK_DISABLE(__INDEX__)   (((__INDEX__) == 0) ? USER_BUTTON_GPIO_CLK_DISABLE() : 0)

Define Documentation

#define BUTTONn   1

Definition at line 129 of file stm32f1xx_nucleo.h.

#define BUTTONx_GPIO_CLK_DISABLE (   __INDEX__)    (((__INDEX__) == 0) ? USER_BUTTON_GPIO_CLK_DISABLE() : 0)

Definition at line 147 of file stm32f1xx_nucleo.h.

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

Definition at line 146 of file stm32f1xx_nucleo.h.

Referenced by BSP_PB_Init().

Definition at line 144 of file stm32f1xx_nucleo.h.

Definition at line 143 of file stm32f1xx_nucleo.h.

Definition at line 142 of file stm32f1xx_nucleo.h.

Definition at line 141 of file stm32f1xx_nucleo.h.

Definition at line 140 of file stm32f1xx_nucleo.h.

#define USER_BUTTON_EXTI_IRQn   EXTI15_10_IRQn

Definition at line 138 of file stm32f1xx_nucleo.h.

#define USER_BUTTON_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOC_CLK_DISABLE()

Definition at line 137 of file stm32f1xx_nucleo.h.

#define USER_BUTTON_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 136 of file stm32f1xx_nucleo.h.

#define USER_BUTTON_GPIO_PORT   GPIOC

Definition at line 135 of file stm32f1xx_nucleo.h.

#define USER_BUTTON_PIN   GPIO_PIN_13

User push-button.

Definition at line 134 of file stm32f1xx_nucleo.h.

Generated on Fri Mar 3 2017 19:17:51 for STM32F1xx_Nucleo BSP User Manual by   doxygen 1.7.6.1