STM32L4R9I_EVAL BSP User Manual
|
Defines | |
#define | JOYn 5 |
#define | BUTTONn 1 + JOYn |
#define | WAKEUP_BUTTON_PIN GPIO_PIN_13 |
Wakeup/Tamper 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 | BUTTONx_GPIO_CLK_ENABLE(__BUTTON__) do { if((__BUTTON__) == BUTTON_WAKEUP) { WAKEUP_BUTTON_GPIO_CLK_ENABLE(); } } while(0) |
#define | BUTTONx_GPIO_CLK_DISABLE(__BUTTON__) do { if((__BUTTON__) == BUTTON_WAKEUP) { WAKEUP_BUTTON_GPIO_CLK_DISABLE(); } } while(0) |
#define | SEL_JOY_PIN IO_PIN_0 |
Joystick Sel push-button. | |
#define | SEL_JOY_EXTI_IRQn EXTI0_IRQn |
#define | DOWN_JOY_PIN IO_PIN_1 |
Joystick Down push-button. | |
#define | DOWN_JOY_EXTI_IRQn EXTI0_IRQn |
#define | LEFT_JOY_PIN IO_PIN_2 |
Joystick Left push-button. | |
#define | LEFT_JOY_EXTI_IRQn EXTI0_IRQn |
#define | RIGHT_JOY_PIN IO_PIN_3 |
Joystick Right push-button. | |
#define | RIGHT_JOY_EXTI_IRQn EXTI0_IRQn |
#define | UP_JOY_PIN IO_PIN_4 |
Joystick Up push-button. | |
#define | UP_JOY_EXTI_IRQn EXTI0_IRQn |
#define | JOY_ALL_PINS (RIGHT_JOY_PIN | LEFT_JOY_PIN | UP_JOY_PIN | DOWN_JOY_PIN | SEL_JOY_PIN) |
#define | JOY_NONE_PIN JOY_ALL_PINS |
Define Documentation
Definition at line 189 of file stm32l4r9i_eval.h.
#define BUTTONx_GPIO_CLK_DISABLE | ( | __BUTTON__ | ) | do { if((__BUTTON__) == BUTTON_WAKEUP) { WAKEUP_BUTTON_GPIO_CLK_DISABLE(); } } while(0) |
Definition at line 202 of file stm32l4r9i_eval.h.
#define BUTTONx_GPIO_CLK_ENABLE | ( | __BUTTON__ | ) | do { if((__BUTTON__) == BUTTON_WAKEUP) { WAKEUP_BUTTON_GPIO_CLK_ENABLE(); } } while(0) |
Definition at line 200 of file stm32l4r9i_eval.h.
Referenced by BSP_PB_DeInit(), and BSP_PB_Init().
#define DOWN_JOY_EXTI_IRQn EXTI0_IRQn |
Definition at line 225 of file stm32l4r9i_eval.h.
#define DOWN_JOY_PIN IO_PIN_1 |
Joystick Down push-button.
Definition at line 222 of file stm32l4r9i_eval.h.
Referenced by BSP_JOY_GetState().
#define JOY_ALL_PINS (RIGHT_JOY_PIN | LEFT_JOY_PIN | UP_JOY_PIN | DOWN_JOY_PIN | SEL_JOY_PIN) |
Definition at line 264 of file stm32l4r9i_eval.h.
Referenced by BSP_JOY_DeInit(), BSP_JOY_GetState(), and BSP_JOY_Init().
#define JOY_NONE_PIN JOY_ALL_PINS |
Definition at line 265 of file stm32l4r9i_eval.h.
#define JOYn 5 |
Definition at line 188 of file stm32l4r9i_eval.h.
#define LEFT_JOY_EXTI_IRQn EXTI0_IRQn |
Definition at line 237 of file stm32l4r9i_eval.h.
#define LEFT_JOY_PIN IO_PIN_2 |
Joystick Left push-button.
Definition at line 234 of file stm32l4r9i_eval.h.
Referenced by BSP_JOY_GetState().
#define RIGHT_JOY_EXTI_IRQn EXTI0_IRQn |
Definition at line 249 of file stm32l4r9i_eval.h.
#define RIGHT_JOY_PIN IO_PIN_3 |
Joystick Right push-button.
Definition at line 246 of file stm32l4r9i_eval.h.
Referenced by BSP_JOY_GetState().
#define SEL_JOY_EXTI_IRQn EXTI0_IRQn |
Definition at line 213 of file stm32l4r9i_eval.h.
#define SEL_JOY_PIN IO_PIN_0 |
Joystick Sel push-button.
Definition at line 212 of file stm32l4r9i_eval.h.
Referenced by BSP_JOY_GetState().
#define UP_JOY_EXTI_IRQn EXTI0_IRQn |
Definition at line 261 of file stm32l4r9i_eval.h.
#define UP_JOY_PIN IO_PIN_4 |
Joystick Up push-button.
Definition at line 258 of file stm32l4r9i_eval.h.
Referenced by BSP_JOY_GetState().
#define WAKEUP_BUTTON_EXTI_IRQn EXTI15_10_IRQn |
Definition at line 198 of file stm32l4r9i_eval.h.
#define WAKEUP_BUTTON_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOC_CLK_DISABLE() |
Definition at line 197 of file stm32l4r9i_eval.h.
#define WAKEUP_BUTTON_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOC_CLK_ENABLE() |
Definition at line 196 of file stm32l4r9i_eval.h.
#define WAKEUP_BUTTON_GPIO_PORT GPIOC |
Definition at line 195 of file stm32l4r9i_eval.h.
#define WAKEUP_BUTTON_PIN GPIO_PIN_13 |
Wakeup/Tamper push-button.
Definition at line 194 of file stm32l4r9i_eval.h.
Generated on Thu Oct 12 2017 10:54:00 for STM32L4R9I_EVAL BSP User Manual by 1.7.6.1