只配置完单片机引脚的工作模式后,单片机的引脚是什么电平状态呢?就是说执行完以下程序后,引脚的电平是什么?
RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOEENABLE); GPIO_InitTypeDef gpio; gpio.GPIO_Pin = GPIO_Pin_3; gpio.GPIO_Mode = GPIO_Mode_OUT; gpio.GPIO_OType = GPIO_OType_PP; gpio.GPIO_Speed = GPIO_Fast_Speed; gpio.GPIO_PuPd = GPIO_PuPd_UP; GPIO_Init(GPIOE&gpio);