按照下面初始化串口,串口并不能用:
halUARTCfg_t uartConfig;
uartConfig.baudRate = HAL_UART_BR_115200;
uartConfig.flowControl = FALSE;
uartConfig.callBackFunc = UART_CallBack;
HalUARTOpen (HAL_UART_PORT_0, &uartConfig);
能不能有人给解决一下?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.