本帖最后由 aozima 于 2010-1-22 21:37 编辑
配置的时候设置为:
- /* Configure USART1 Rx (PA.10) as input */
- GPIO_InitStructure.GPIO_Pin = CONSOLE_TX_PIN;
- GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPU;
- GPIO_Init(CONSOLE_GPIO, &GPIO_InitStructure);
自己的推测,理解,及实际测试都是有效的.
忘得到权威解答.
|