优化调试新增按键驱动
This commit is contained in:
@ -25,10 +25,19 @@
|
||||
#define BSP_LED_PIN HAL_GPIO_PIN_6
|
||||
|
||||
/**
|
||||
* @brief Button hardware configuration (if available)
|
||||
* @brief Button hardware configuration
|
||||
*/
|
||||
/* #define BSP_BUTTON_PORT HAL_GPIO_PORT_X */
|
||||
/* #define BSP_BUTTON_PIN HAL_GPIO_PIN_X */
|
||||
/* KEY0 - PE4, active low */
|
||||
#define BSP_KEY0_PORT HAL_GPIO_PORT_E
|
||||
#define BSP_KEY0_PIN HAL_GPIO_PIN_4
|
||||
|
||||
/* KEY1 - PE3, active low */
|
||||
#define BSP_KEY1_PORT HAL_GPIO_PORT_E
|
||||
#define BSP_KEY1_PIN HAL_GPIO_PIN_3
|
||||
|
||||
/* WK_UP - PA0, active high */
|
||||
#define BSP_WKUP_PORT HAL_GPIO_PORT_A
|
||||
#define BSP_WKUP_PIN HAL_GPIO_PIN_0
|
||||
|
||||
/**
|
||||
* @brief UART hardware configuration
|
||||
|
||||
Reference in New Issue
Block a user