STM32769I_EVAL BSP User Manual: LOW LEVEL BUTTON

STM32769I_EVAL BSP

STM32769I_EVAL BSP User Manual

Defines

#define BUTTONn   ((uint8_t)3)
#define WAKEUP_BUTTON_PIN   GPIO_PIN_13
 Wakeup push-button.
#define WAKEUP_BUTTON_GPIO_PORT   GPIOC
#define WAKEUP_BUTTON_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
#define WAKEUP_BUTTON_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOC_CLK_DISABLE()
#define WAKEUP_BUTTON_EXTI_IRQn   EXTI15_10_IRQn
#define TAMPER_BUTTON_PIN   GPIO_PIN_13
 Tamper push-button.
#define TAMPER_BUTTON_GPIO_PORT   GPIOC
#define TAMPER_BUTTON_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
#define TAMPER_BUTTON_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOC_CLK_DISABLE()
#define TAMPER_BUTTON_EXTI_IRQn   EXTI15_10_IRQn
#define KEY_BUTTON_PIN   GPIO_PIN_13
 Key push-button.
#define KEY_BUTTON_GPIO_PORT   GPIOC
#define KEY_BUTTON_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
#define KEY_BUTTON_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOC_CLK_DISABLE()
#define KEY_BUTTON_EXTI_IRQn   EXTI15_10_IRQn
#define BUTTONx_GPIO_CLK_ENABLE(__INDEX__)
#define BUTTONx_GPIO_CLK_DISABLE(__INDEX__)

Define Documentation

#define BUTTONn   ((uint8_t)3)

Definition at line 182 of file stm32f769i_eval.h.

#define BUTTONx_GPIO_CLK_DISABLE (   __INDEX__)
Value:
(((__INDEX__) == 0) ? WAKEUP_BUTTON_GPIO_CLK_DISABLE() :\
                                                ((__INDEX__) == 1) ? TAMPER_BUTTON_GPIO_CLK_DISABLE() : KEY_BUTTON_GPIO_CLK_DISABLE())

Definition at line 215 of file stm32f769i_eval.h.

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

Definition at line 211 of file stm32f769i_eval.h.

Referenced by BSP_PB_Init().

#define KEY_BUTTON_EXTI_IRQn   EXTI15_10_IRQn

Definition at line 209 of file stm32f769i_eval.h.

#define KEY_BUTTON_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOC_CLK_DISABLE()

Definition at line 208 of file stm32f769i_eval.h.

#define KEY_BUTTON_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 207 of file stm32f769i_eval.h.

#define KEY_BUTTON_GPIO_PORT   GPIOC

Definition at line 206 of file stm32f769i_eval.h.

#define KEY_BUTTON_PIN   GPIO_PIN_13

Key push-button.

Definition at line 205 of file stm32f769i_eval.h.

#define TAMPER_BUTTON_EXTI_IRQn   EXTI15_10_IRQn

Definition at line 200 of file stm32f769i_eval.h.

#define TAMPER_BUTTON_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOC_CLK_DISABLE()

Definition at line 199 of file stm32f769i_eval.h.

#define TAMPER_BUTTON_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 198 of file stm32f769i_eval.h.

#define TAMPER_BUTTON_GPIO_PORT   GPIOC

Definition at line 197 of file stm32f769i_eval.h.

#define TAMPER_BUTTON_PIN   GPIO_PIN_13

Tamper push-button.

Definition at line 196 of file stm32f769i_eval.h.

#define WAKEUP_BUTTON_EXTI_IRQn   EXTI15_10_IRQn

Definition at line 191 of file stm32f769i_eval.h.

#define WAKEUP_BUTTON_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOC_CLK_DISABLE()

Definition at line 190 of file stm32f769i_eval.h.

#define WAKEUP_BUTTON_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 189 of file stm32f769i_eval.h.

#define WAKEUP_BUTTON_GPIO_PORT   GPIOC

Definition at line 188 of file stm32f769i_eval.h.

#define WAKEUP_BUTTON_PIN   GPIO_PIN_13

Wakeup push-button.

Definition at line 187 of file stm32f769i_eval.h.

Generated on Thu May 25 2017 11:03:12 for STM32769I_EVAL BSP User Manual by   doxygen 1.7.6.1