STM3210C_EVAL BSP User Manual
|
Defines | |
#define | BUTTONn 3 |
#define | TAMPER_BUTTON_PIN GPIO_PIN_13 /* PC.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_9 /* PB.09*/ |
Key push-button. | |
#define | KEY_BUTTON_GPIO_PORT GPIOB |
#define | KEY_BUTTON_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE() |
#define | KEY_BUTTON_GPIO_CLK_DISABLE() __HAL_RCC_GPIOB_CLK_DISABLE() |
#define | KEY_BUTTON_EXTI_IRQn EXTI9_5_IRQn |
#define | WAKEUP_BUTTON_PIN GPIO_PIN_0 /* PA.00*/ |
Wake-up 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 | BUTTONx_GPIO_CLK_ENABLE(__BUTTON__) |
#define | BUTTONx_GPIO_CLK_DISABLE(__BUTTON__) |
#define | JOY_SEL_PIN (IO2_PIN_7) /* IO_Expander_2 */ |
IO Pins definition. | |
#define | JOY_DOWN_PIN (IO2_PIN_6) /* IO_Expander_2 */ |
#define | JOY_LEFT_PIN (IO2_PIN_5) /* IO_Expander_2 */ |
#define | JOY_RIGHT_PIN (IO2_PIN_4) /* IO_Expander_2 */ |
#define | JOY_UP_PIN (IO2_PIN_3) /* IO_Expander_2 */ |
#define | JOY_NONE_PIN JOY_ALL_PINS |
#define | JOY_ALL_PINS (JOY_SEL_PIN | JOY_DOWN_PIN | JOY_LEFT_PIN | JOY_RIGHT_PIN | JOY_UP_PIN) |
#define | MEMS_INT1_PIN (IO1_PIN_3) /* IO_Expander_1 */ /* Input */ |
#define | MEMS_INT2_PIN (IO1_PIN_2) /* IO_Expander_1 */ /* Input */ |
#define | MEMS_ALL_PINS (MEMS_INT1_PIN | MEMS_INT2_PIN) |
#define | AUDIO_RESET_PIN (IO2_PIN_2) /* IO_Expander_2 */ /* Output */ |
#define | MII_INT_PIN (IO2_PIN_0) /* IO_Expander_2 */ /* Output */ |
#define | VBAT_DIV_PIN (IO1_PIN_0) /* IO_Expander_1 */ /* Output */ |
Define Documentation
#define AUDIO_RESET_PIN (IO2_PIN_2) /* IO_Expander_2 */ /* Output */ |
Definition at line 245 of file stm3210c_eval.h.
Referenced by AUDIO_IO_Init(), and BSP_AUDIO_OUT_Stop().
#define BUTTONn 3 |
Definition at line 191 of file stm3210c_eval.h.
#define BUTTONx_GPIO_CLK_DISABLE | ( | __BUTTON__ | ) |
(((__BUTTON__) == BUTTON_TAMPER) TAMPER_BUTTON_GPIO_CLK_DISABLE() :\ ((__BUTTON__) == BUTTON_KEY) KEY_BUTTON_GPIO_CLK_DISABLE() :\ ((__BUTTON__) == BUTTON_WAKEUP) WAKEUP_BUTTON_GPIO_CLK_DISABLE() : 0 )
Definition at line 224 of file stm3210c_eval.h.
#define BUTTONx_GPIO_CLK_ENABLE | ( | __BUTTON__ | ) |
do { if ((__BUTTON__) == BUTTON_TAMPER) TAMPER_BUTTON_GPIO_CLK_ENABLE() ; else \ if ((__BUTTON__) == BUTTON_KEY) KEY_BUTTON_GPIO_CLK_ENABLE() ; else \ if ((__BUTTON__) == BUTTON_WAKEUP) WAKEUP_BUTTON_GPIO_CLK_ENABLE();} while(0)
Definition at line 220 of file stm3210c_eval.h.
Referenced by BSP_PB_Init().
#define JOY_ALL_PINS (JOY_SEL_PIN | JOY_DOWN_PIN | JOY_LEFT_PIN | JOY_RIGHT_PIN | JOY_UP_PIN) |
Definition at line 238 of file stm3210c_eval.h.
Referenced by BSP_JOY_GetState(), and BSP_JOY_Init().
#define JOY_DOWN_PIN (IO2_PIN_6) /* IO_Expander_2 */ |
Definition at line 233 of file stm3210c_eval.h.
Referenced by BSP_JOY_GetState().
#define JOY_LEFT_PIN (IO2_PIN_5) /* IO_Expander_2 */ |
Definition at line 234 of file stm3210c_eval.h.
Referenced by BSP_JOY_GetState().
#define JOY_NONE_PIN JOY_ALL_PINS |
Definition at line 237 of file stm3210c_eval.h.
Referenced by BSP_JOY_GetState().
#define JOY_RIGHT_PIN (IO2_PIN_4) /* IO_Expander_2 */ |
Definition at line 235 of file stm3210c_eval.h.
Referenced by BSP_JOY_GetState().
#define JOY_SEL_PIN (IO2_PIN_7) /* IO_Expander_2 */ |
IO Pins definition.
Definition at line 232 of file stm3210c_eval.h.
Referenced by BSP_JOY_GetState().
#define JOY_UP_PIN (IO2_PIN_3) /* IO_Expander_2 */ |
Definition at line 236 of file stm3210c_eval.h.
Referenced by BSP_JOY_GetState().
#define KEY_BUTTON_EXTI_IRQn EXTI9_5_IRQn |
Definition at line 209 of file stm3210c_eval.h.
#define KEY_BUTTON_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOB_CLK_DISABLE() |
Definition at line 208 of file stm3210c_eval.h.
#define KEY_BUTTON_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOB_CLK_ENABLE() |
Definition at line 207 of file stm3210c_eval.h.
#define KEY_BUTTON_GPIO_PORT GPIOB |
Definition at line 206 of file stm3210c_eval.h.
#define KEY_BUTTON_PIN GPIO_PIN_9 /* PB.09*/ |
Key push-button.
Definition at line 205 of file stm3210c_eval.h.
#define MEMS_ALL_PINS (MEMS_INT1_PIN | MEMS_INT2_PIN) |
Definition at line 243 of file stm3210c_eval.h.
Referenced by ACCELERO_IO_ITConfig().
#define MEMS_INT1_PIN (IO1_PIN_3) /* IO_Expander_1 */ /* Input */ |
Definition at line 241 of file stm3210c_eval.h.
#define MEMS_INT2_PIN (IO1_PIN_2) /* IO_Expander_1 */ /* Input */ |
Definition at line 242 of file stm3210c_eval.h.
#define MII_INT_PIN (IO2_PIN_0) /* IO_Expander_2 */ /* Output */ |
Definition at line 246 of file stm3210c_eval.h.
#define TAMPER_BUTTON_EXTI_IRQn EXTI15_10_IRQn |
Definition at line 200 of file stm3210c_eval.h.
#define TAMPER_BUTTON_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOC_CLK_DISABLE() |
Definition at line 199 of file stm3210c_eval.h.
#define TAMPER_BUTTON_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOC_CLK_ENABLE() |
Definition at line 198 of file stm3210c_eval.h.
#define TAMPER_BUTTON_GPIO_PORT GPIOC |
Definition at line 197 of file stm3210c_eval.h.
#define TAMPER_BUTTON_PIN GPIO_PIN_13 /* PC.13*/ |
Tamper push-button.
Definition at line 196 of file stm3210c_eval.h.
#define VBAT_DIV_PIN (IO1_PIN_0) /* IO_Expander_1 */ /* Output */ |
Definition at line 247 of file stm3210c_eval.h.
#define WAKEUP_BUTTON_EXTI_IRQn EXTI0_IRQn |
Definition at line 218 of file stm3210c_eval.h.
#define WAKEUP_BUTTON_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOA_CLK_DISABLE() |
Definition at line 217 of file stm3210c_eval.h.
#define WAKEUP_BUTTON_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOA_CLK_ENABLE() |
Definition at line 216 of file stm3210c_eval.h.
#define WAKEUP_BUTTON_GPIO_PORT GPIOA |
Definition at line 215 of file stm3210c_eval.h.
#define WAKEUP_BUTTON_PIN GPIO_PIN_0 /* PA.00*/ |
Wake-up push-button.
Definition at line 214 of file stm3210c_eval.h.
Generated on Thu Dec 10 2015 17:13:52 for STM3210C_EVAL BSP User Manual by 1.7.6.1