15 lines
184 B
C
15 lines
184 B
C
|
#include "bsp_key.h"
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
void BSP_KEY_Init(void)
|
||
|
{
|
||
|
// KEY
|
||
|
GPIOB_SetBits(GPIO_Pin_15);
|
||
|
// 由外部上拉电阻了
|
||
|
GPIOB_ModeCfg(GPIO_Pin_15, GPIO_ModeIN_Floating);
|
||
|
}
|