USART调试问题

2019-07-14 23:01发布

为什么调试时这里有disable pin TX,怎么消除呀。各位大神
void USART_Configuration(void)
{
   USART_InitTypeDef   USART_InitStructure;
USART_InitStructure.USART_BaudRate = 9600;
USART_InitStructure.USART_WordLength = USART_WordLength_8b;
USART_InitStructure.USART_StopBits = USART_StopBits_1;
USART_InitStructure.USART_Parity = USART_Parity_Odd;
USART_InitStructure.USART_HardwareFlowControl =USART_HardwareFlowControl_RTS_CTS;
USART_InitStructure.USART_Mode = USART_Mode_Tx | USART_Mode_Rx;

USART_Init(USART3, &USART_InitStructure);
//使能USART3
USART_Cmd(USART3, ENABLE);
}
捕获.PNG
0条回答

一周热门 更多>