关于STM32单片机GPIO口上拉与下拉输入

GPIO_InitStructure.GPIO_Pin  = GPIO_Pin_0;  //PA0      GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPD; //PA0 下拉输入     GPIO_Init(GPIOA, &GPIO_InitStructure);   GPIO_ResetBits(GPIOA,GPIO_Pin_0);       //P
相关文章
相关标签/搜索