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.

[参考译文] CC2652R7:如何打开 UART

Guru**** 633805 points
Other Parts Discussed in Thread: SYSCONFIG
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/1190422/cc2652r7-how-to-open-uart

器件型号:CC2652R7
Thread 中讨论的其他器件:SysConfig

我们如何通过编程方式设置另一个 UART (指定引脚)以与外设进行交互? 这些引脚会映射到特定的索引吗?  

UART_INIT();
UART_PARAMS_INIT (uartParams);

句柄= UART_OPEN ( ,uartParams (&U);
如果( handle == nulllptr ){/*  open 总是失败 */}