*/GPIO_ResetBits(GPIOA,GPIO_Pin_10 |GPIO_Pin_15);函数GPIO_WriteBit设置高或低电平 例: /* Set theGPIOAportpin15...函数GPIO_SetBits设置高电平 例: /* Set theGPIOAportpin10 andpin15 */GPIO_SetBits(GPIOA,GPIO_Pin STM32F103RCT6控制LE
GPIO_EXTILineConfig(GPIO_PortSourceGPIOC, GPIO_PinSource13);//配置端口C的13引脚为中断源 重要!! 板上标号INT2 ... 分享1赞 xuyuntong吧 kao是我 stm32dma串口USART_DMACmd(USART1, USART_DMAReq_Tx, ENABLE);GPIO_SetBits(GPIOG,GPIO_Pin_14); //点亮ledwhile(1); }void ledinit(void){GPIO_...