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.

关于Starterware中UART的时钟配置

大家好,由于我需要用到UART2接口(板子是BB-Black),所以我参考Starterware中BBB目录下的uartEcho,c,它用到的是UART0,修改的地方主要是配置UART2的时钟和pinmux,pinmux这个我会了,我主要的问题是配置UART的时钟的宏是i通用的吗?比如函数UART0ModuleClkConfig()中用到的宏:

这里我能复制UART0的这些宏定义,直接改为UART2的吗?因为之前做了DCAN的,hw_cm_wkup.h中关于DCAN0和DCAN1的时钟配置宏定义是相同的,如果不能,请问这些值是参考AM335x数据手册的哪里?