STM32072B_EVAL BSP User Manual
|
Defines | |
#define | JOYn 5 |
#define | BUTTONn 1 |
#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 EXTI4_15_IRQn |
#define | TAMPERx_GPIO_CLK_ENABLE(__BUTTON__) do { if((__BUTTON__) == BUTTON_TAMPER) TAMPER_BUTTON_GPIO_CLK_ENABLE();} while(0) |
#define | TAMPERx_GPIO_CLK_DISABLE(__BUTTON__) (((__BUTTON__) == BUTTON_TAMPER) ? TAMPER_BUTTON_GPIO_CLK_DISABLE(): 0 ) |
#define | RIGHT_JOY_PIN GPIO_PIN_3 |
Joystick Right push-button. | |
#define | RIGHT_JOY_GPIO_PORT GPIOE |
#define | RIGHT_JOY_GPIO_CLK_ENABLE() __HAL_RCC_GPIOE_CLK_ENABLE() |
#define | RIGHT_JOY_GPIO_CLK_DISABLE() __HAL_RCC_GPIOE_CLK_DISABLE() |
#define | RIGHT_JOY_EXTI_IRQn EXTI2_3_IRQn |
#define | LEFT_JOY_PIN GPIO_PIN_2 |
Joystick Left push-button. | |
#define | LEFT_JOY_GPIO_PORT GPIOE |
#define | LEFT_JOY_GPIO_CLK_ENABLE() __HAL_RCC_GPIOE_CLK_ENABLE() |
#define | LEFT_JOY_GPIO_CLK_DISABLE() __HAL_RCC_GPIOE_CLK_DISABLE() |
#define | LEFT_JOY_EXTI_IRQn EXTI2_3_IRQn |
#define | UP_JOY_PIN GPIO_PIN_9 |
Joystick Up push-button. | |
#define | UP_JOY_GPIO_PORT GPIOF |
#define | UP_JOY_GPIO_CLK_ENABLE() __HAL_RCC_GPIOF_CLK_ENABLE() |
#define | UP_JOY_GPIO_CLK_DISABLE() __HAL_RCC_GPIOF_CLK_DISABLE() |
#define | UP_JOY_EXTI_IRQn EXTI4_15_IRQn |
#define | DOWN_JOY_PIN GPIO_PIN_10 |
Joystick Down push-button. | |
#define | DOWN_JOY_GPIO_PORT GPIOF |
#define | DOWN_JOY_GPIO_CLK_ENABLE() __HAL_RCC_GPIOF_CLK_ENABLE() |
#define | DOWN_JOY_GPIO_CLK_DISABLE() __HAL_RCC_GPIOF_CLK_DISABLE() |
#define | DOWN_JOY_EXTI_IRQn EXTI4_15_IRQn |
#define | SEL_JOY_PIN GPIO_PIN_0 |
Joystick Sel push-button. | |
#define | SEL_JOY_GPIO_PORT GPIOA |
#define | SEL_JOY_GPIO_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE() |
#define | SEL_JOY_GPIO_CLK_DISABLE() __HAL_RCC_GPIOA_CLK_DISABLE() |
#define | SEL_JOY_EXTI_IRQn EXTI0_1_IRQn |
#define | JOYx_GPIO_CLK_ENABLE(__JOY__) |
#define | JOYx_GPIO_CLK_DISABLE(__JOY__) |
Define Documentation
#define BUTTONn 1 |
Definition at line 179 of file stm32072b_eval.h.
#define DOWN_JOY_EXTI_IRQn EXTI4_15_IRQn |
Definition at line 228 of file stm32072b_eval.h.
#define DOWN_JOY_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOF_CLK_DISABLE() |
Definition at line 227 of file stm32072b_eval.h.
#define DOWN_JOY_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOF_CLK_ENABLE() |
Definition at line 226 of file stm32072b_eval.h.
#define DOWN_JOY_GPIO_PORT GPIOF |
Definition at line 225 of file stm32072b_eval.h.
#define DOWN_JOY_PIN GPIO_PIN_10 |
Joystick Down push-button.
Definition at line 224 of file stm32072b_eval.h.
#define JOYn 5 |
Definition at line 178 of file stm32072b_eval.h.
Referenced by BSP_JOY_GetState(), and BSP_JOY_Init().
#define JOYx_GPIO_CLK_DISABLE | ( | __JOY__ | ) |
(((__JOY__) == JOY_SEL) ? SEL_JOY_GPIO_CLK_DISABLE() :\ ((__JOY__) == JOY_DOWN) ? DOWN_JOY_GPIO_CLK_DISABLE() :\ ((__JOY__) == JOY_LEFT) ? LEFT_JOY_GPIO_CLK_DISABLE() :\ ((__JOY__) == JOY_RIGHT) ? RIGHT_JOY_GPIO_CLK_DISABLE() :\ ((__JOY__) == JOY_UP) ? UP_JOY_GPIO_CLK_DISABLE() : 0 )
Definition at line 245 of file stm32072b_eval.h.
#define JOYx_GPIO_CLK_ENABLE | ( | __JOY__ | ) |
do { if((__JOY__) == JOY_SEL) SEL_JOY_GPIO_CLK_ENABLE(); else \ if((__JOY__) == JOY_DOWN) DOWN_JOY_GPIO_CLK_ENABLE(); else \ if((__JOY__) == JOY_LEFT) LEFT_JOY_GPIO_CLK_ENABLE(); else \ if((__JOY__) == JOY_RIGHT) RIGHT_JOY_GPIO_CLK_ENABLE(); else \ if((__JOY__) == JOY_UP) UP_JOY_GPIO_CLK_ENABLE();} while(0)
Definition at line 239 of file stm32072b_eval.h.
Referenced by BSP_JOY_Init().
#define LEFT_JOY_EXTI_IRQn EXTI2_3_IRQn |
Definition at line 210 of file stm32072b_eval.h.
#define LEFT_JOY_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOE_CLK_DISABLE() |
Definition at line 209 of file stm32072b_eval.h.
#define LEFT_JOY_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 208 of file stm32072b_eval.h.
#define LEFT_JOY_GPIO_PORT GPIOE |
Definition at line 207 of file stm32072b_eval.h.
#define LEFT_JOY_PIN GPIO_PIN_2 |
Joystick Left push-button.
Definition at line 206 of file stm32072b_eval.h.
#define RIGHT_JOY_EXTI_IRQn EXTI2_3_IRQn |
Definition at line 201 of file stm32072b_eval.h.
#define RIGHT_JOY_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOE_CLK_DISABLE() |
Definition at line 200 of file stm32072b_eval.h.
#define RIGHT_JOY_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 199 of file stm32072b_eval.h.
#define RIGHT_JOY_GPIO_PORT GPIOE |
Definition at line 198 of file stm32072b_eval.h.
#define RIGHT_JOY_PIN GPIO_PIN_3 |
Joystick Right push-button.
Definition at line 197 of file stm32072b_eval.h.
#define SEL_JOY_EXTI_IRQn EXTI0_1_IRQn |
Definition at line 237 of file stm32072b_eval.h.
#define SEL_JOY_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOA_CLK_DISABLE() |
Definition at line 236 of file stm32072b_eval.h.
#define SEL_JOY_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOA_CLK_ENABLE() |
Definition at line 235 of file stm32072b_eval.h.
#define SEL_JOY_GPIO_PORT GPIOA |
Definition at line 234 of file stm32072b_eval.h.
#define SEL_JOY_PIN GPIO_PIN_0 |
Joystick Sel push-button.
Definition at line 233 of file stm32072b_eval.h.
#define TAMPER_BUTTON_EXTI_IRQn EXTI4_15_IRQn |
Definition at line 188 of file stm32072b_eval.h.
#define TAMPER_BUTTON_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOC_CLK_DISABLE() |
Definition at line 187 of file stm32072b_eval.h.
#define TAMPER_BUTTON_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOC_CLK_ENABLE() |
Definition at line 186 of file stm32072b_eval.h.
#define TAMPER_BUTTON_GPIO_PORT GPIOC |
Definition at line 185 of file stm32072b_eval.h.
#define TAMPER_BUTTON_PIN GPIO_PIN_13 |
Tamper push-button.
Definition at line 184 of file stm32072b_eval.h.
#define TAMPERx_GPIO_CLK_DISABLE | ( | __BUTTON__ | ) | (((__BUTTON__) == BUTTON_TAMPER) ? TAMPER_BUTTON_GPIO_CLK_DISABLE(): 0 ) |
Definition at line 192 of file stm32072b_eval.h.
#define TAMPERx_GPIO_CLK_ENABLE | ( | __BUTTON__ | ) | do { if((__BUTTON__) == BUTTON_TAMPER) TAMPER_BUTTON_GPIO_CLK_ENABLE();} while(0) |
Definition at line 190 of file stm32072b_eval.h.
Referenced by BSP_PB_Init().
#define UP_JOY_EXTI_IRQn EXTI4_15_IRQn |
Definition at line 219 of file stm32072b_eval.h.
#define UP_JOY_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOF_CLK_DISABLE() |
Definition at line 218 of file stm32072b_eval.h.
#define UP_JOY_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOF_CLK_ENABLE() |
Definition at line 217 of file stm32072b_eval.h.
#define UP_JOY_GPIO_PORT GPIOF |
Definition at line 216 of file stm32072b_eval.h.
#define UP_JOY_PIN GPIO_PIN_9 |
Joystick Up push-button.
Definition at line 215 of file stm32072b_eval.h.
Generated on Wed Jul 5 2017 08:56:11 for STM32072B_EVAL BSP User Manual by 1.7.6.1