STM32746G-Discovery BSP User Manual
|
Defines | |
#define | BUTTONn ((uint8_t)3) |
#define | WAKEUP_BUTTON_PIN GPIO_PIN_11 |
Wakeup push-button. | |
#define | WAKEUP_BUTTON_GPIO_PORT GPIOI |
#define | WAKEUP_BUTTON_GPIO_CLK_ENABLE() __HAL_RCC_GPIOI_CLK_ENABLE() |
#define | WAKEUP_BUTTON_GPIO_CLK_DISABLE() __HAL_RCC_GPIOI_CLK_DISABLE() |
#define | WAKEUP_BUTTON_EXTI_IRQn EXTI15_10_IRQn |
#define | TAMPER_BUTTON_PIN GPIO_PIN_11 |
Tamper push-button. | |
#define | TAMPER_BUTTON_GPIO_PORT GPIOI |
#define | TAMPER_BUTTON_GPIO_CLK_ENABLE() __HAL_RCC_GPIOI_CLK_ENABLE() |
#define | TAMPER_BUTTON_GPIO_CLK_DISABLE() __HAL_RCC_GPIOI_CLK_DISABLE() |
#define | TAMPER_BUTTON_EXTI_IRQn EXTI15_10_IRQn |
#define | KEY_BUTTON_PIN GPIO_PIN_11 |
Key push-button. | |
#define | KEY_BUTTON_GPIO_PORT GPIOI |
#define | KEY_BUTTON_GPIO_CLK_ENABLE() __HAL_RCC_GPIOI_CLK_ENABLE() |
#define | KEY_BUTTON_GPIO_CLK_DISABLE() __HAL_RCC_GPIOI_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 122 of file stm32746g_discovery.h.
#define BUTTONx_GPIO_CLK_DISABLE | ( | __INDEX__ | ) |
(((__INDEX__) == 0) ? WAKEUP_BUTTON_GPIO_CLK_DISABLE() :\ ((__INDEX__) == 1) ? TAMPER_BUTTON_GPIO_CLK_DISABLE() : KEY_BUTTON_GPIO_CLK_DISABLE())
Definition at line 155 of file stm32746g_discovery.h.
#define BUTTONx_GPIO_CLK_ENABLE | ( | __INDEX__ | ) |
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 151 of file stm32746g_discovery.h.
Referenced by BSP_PB_Init().
#define KEY_BUTTON_EXTI_IRQn EXTI15_10_IRQn |
Definition at line 149 of file stm32746g_discovery.h.
#define KEY_BUTTON_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOI_CLK_DISABLE() |
Definition at line 148 of file stm32746g_discovery.h.
#define KEY_BUTTON_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOI_CLK_ENABLE() |
Definition at line 147 of file stm32746g_discovery.h.
#define KEY_BUTTON_GPIO_PORT GPIOI |
Definition at line 146 of file stm32746g_discovery.h.
#define KEY_BUTTON_PIN GPIO_PIN_11 |
Key push-button.
Definition at line 145 of file stm32746g_discovery.h.
#define TAMPER_BUTTON_EXTI_IRQn EXTI15_10_IRQn |
Definition at line 140 of file stm32746g_discovery.h.
#define TAMPER_BUTTON_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOI_CLK_DISABLE() |
Definition at line 139 of file stm32746g_discovery.h.
#define TAMPER_BUTTON_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOI_CLK_ENABLE() |
Definition at line 138 of file stm32746g_discovery.h.
#define TAMPER_BUTTON_GPIO_PORT GPIOI |
Definition at line 137 of file stm32746g_discovery.h.
#define TAMPER_BUTTON_PIN GPIO_PIN_11 |
Tamper push-button.
Definition at line 136 of file stm32746g_discovery.h.
#define WAKEUP_BUTTON_EXTI_IRQn EXTI15_10_IRQn |
Definition at line 131 of file stm32746g_discovery.h.
#define WAKEUP_BUTTON_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOI_CLK_DISABLE() |
Definition at line 130 of file stm32746g_discovery.h.
#define WAKEUP_BUTTON_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOI_CLK_ENABLE() |
Definition at line 129 of file stm32746g_discovery.h.
#define WAKEUP_BUTTON_GPIO_PORT GPIOI |
Definition at line 128 of file stm32746g_discovery.h.
#define WAKEUP_BUTTON_PIN GPIO_PIN_11 |
Wakeup push-button.
Definition at line 127 of file stm32746g_discovery.h.
Generated on Fri Dec 30 2016 16:31:33 for STM32746G-Discovery BSP User Manual by 1.7.6.1