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.

CC2642R 串口1可以被打开获取句柄,串口0打开返回句柄为0



m_hUart[0] = UART_open(0, &UART_defaultParams);

m_hUart[1] = UART_open(1, &UART_defaultParams);

m_hUart[1] 可以被打开,并且可以发送数据,

m_hUart[0]  的值为0

simple_perial 例程