UART1_SendData8(0xaa);
while(UART1_GetITStatus(UART1_FLAG_TC)==SET);
UART1_ClearITPendingBit(UART1_FLAG_TC);
UART1_SendData8(0x55);
while(UART1_GetITStatus(UART1_FLAG_TC)==SET);
UART1_ClearITPendingBit(UART1_FLAG_TC);
UART1_SendData8(0x22);
while(UART1_GetITStatus(UART1_FLAG_TC)==SET);
UART1_ClearITPendingBit(UART1_FLAG_TC);
用串口调试助手接收到数据如下:
AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55 22 55 22 55 22 AA 22 AA 55 AA 55 AA 55 22 55 22 AA 22 AA 22 AA 55 AA 55
请问如何解释? |