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
相關文章
相關標籤/搜索