STM32H743I_EVAL BSP User Manual: STM32H743I_EVAL_LOW_LEVEL_BUTTON

STM32H743I_EVAL BSP

STM32H743I_EVAL BSP User Manual
STM32H743I_EVAL_LOW_LEVEL_BUTTON

Defines

#define BUTTONn   ((uint8_t)3)
#define WAKEUP_BUTTON_PIN   GPIO_PIN_0
 Wakeup push-button.
#define WAKEUP_BUTTON_GPIO_PORT   GPIOA
#define WAKEUP_BUTTON_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define WAKEUP_BUTTON_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define WAKEUP_BUTTON_EXTI_IRQn   EXTI0_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 173 of file stm32h743i_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 206 of file stm32h743i_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 202 of file stm32h743i_eval.h.

Referenced by BSP_PB_Init().

#define KEY_BUTTON_EXTI_IRQn   EXTI15_10_IRQn

Definition at line 200 of file stm32h743i_eval.h.

#define KEY_BUTTON_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOC_CLK_DISABLE()

Definition at line 199 of file stm32h743i_eval.h.

#define KEY_BUTTON_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 198 of file stm32h743i_eval.h.

#define KEY_BUTTON_GPIO_PORT   GPIOC

Definition at line 197 of file stm32h743i_eval.h.

#define KEY_BUTTON_PIN   GPIO_PIN_13

Key push-button.

Definition at line 196 of file stm32h743i_eval.h.

#define TAMPER_BUTTON_EXTI_IRQn   EXTI15_10_IRQn

Definition at line 191 of file stm32h743i_eval.h.

#define TAMPER_BUTTON_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOC_CLK_DISABLE()

Definition at line 190 of file stm32h743i_eval.h.

#define TAMPER_BUTTON_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 189 of file stm32h743i_eval.h.

#define TAMPER_BUTTON_GPIO_PORT   GPIOC

Definition at line 188 of file stm32h743i_eval.h.

#define TAMPER_BUTTON_PIN   GPIO_PIN_13

Tamper push-button.

Definition at line 187 of file stm32h743i_eval.h.

#define WAKEUP_BUTTON_EXTI_IRQn   EXTI0_IRQn

Definition at line 182 of file stm32h743i_eval.h.

#define WAKEUP_BUTTON_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 181 of file stm32h743i_eval.h.

#define WAKEUP_BUTTON_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 180 of file stm32h743i_eval.h.

#define WAKEUP_BUTTON_GPIO_PORT   GPIOA

Definition at line 179 of file stm32h743i_eval.h.

#define WAKEUP_BUTTON_PIN   GPIO_PIN_0

Wakeup push-button.

Definition at line 178 of file stm32h743i_eval.h.

Generated on Wed Aug 23 2017 17:45:14 for STM32H743I_EVAL BSP User Manual by   doxygen 1.7.6.1