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.

C6748串口开发



各位爱好者:

       大家好。我最近在C6748下做UART的开发。看了TI公司提供的例程,在biospsp提供的例程中看到了下面一段代码

CSL_PscRegsOvly psc0Regs = (CSL_PscRegsOvly)CSL_PSC_0_REGS; // PSC:Power and Sleep Controller

// deassert UART local PSC reset and set NEXT state to ENABLE


psc0Regs->MDCTL[CSL_PSC_UART0] = CSL_FMKT( PSC_MDCTL_NEXT, ENABLE )
| CSL_FMKT( PSC_MDCTL_LRST, DEASSERT );


// move UART PSC to Next state


psc0Regs->PTCMD = CSL_FMKT( PSC_PTCMD_GO0, SET );

程序编译执行都没有问题。在代码中,PSC_MDCTL_NEXT,ENABLE, PSC_MDCTL_LRST等几个变量,看不到它的定义,这些变量的定义在什么地方?