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.
F28069SCI的例程在controlsuite中有的,
C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_examples_ccsv5
void HAL_setupSciA(HAL_Handle handle)
{
HAL_Obj *obj = (HAL_Obj *)handle;
obj->sciAHandle->SCIHBAUD = 0x0001;
obj->sciAHandle->SCILBAUD == 0x24;
return;
}
在HAL_Obj 里面定义了 SCI_Handle sciAHandle;,
HAL_Handle HAL_init(void *pMemory,const size_t numBytes) 函数里面增加
obj->sciAHandle = SCI_init((void *)SCIA_BASE_ADDR,sizeof(SCI_Obj));
软件在调用上面的函数HAL_setupSciA的时候 发现寄存器没有被配置
请问是什么愿意 是参数没有传递过去吗?