12、stm32F103 GPIO写操作

函数GPIO_SetBits 设置高电平 例: /* Set the GPIOA port pin 10 and pin 15 */ GPIO_SetBits(GPIOA, GPIO_Pin_10 | GPIO_Pin_15); 函数GPIO_ResetBits 设置低电平 例: /* Clears the GPIOA port pin 10 and pin 15 */ GPIO_ResetBit
相关文章
相关标签/搜索