RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_7;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING;
main.c(382): error: #20: identifier "RCC_APB2Periph_GPIOB" is undefined
main.c(385): error: #20: identifier "GPIO_Mode_IN_FLOATING" is undefined
这是什么原因 |