GPIO端口模式配置

下圖爲GPIO硬件結構框圖: GPIO 8 種工做模式: 1 typedef enum 2 { 3 GPIO_Mode_AIN = 0x0, // 模擬輸入 4 GPIO_Mode_IN_FLOATING = 0x04, // 浮空輸入 5 GPIO_Mode_IPD = 0x28, // 下拉輸入 6 GPIO_Mode_IPU = 0x48, // 上拉輸入 7 GPIO_Mode_Out_O
相關文章
相關標籤/搜索