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.

关于HALCoGen自动生成的寄存器问题。

Other Parts Discussed in Thread: HALCOGEN

专家:

你好!

请问一下,我用HALCoGen设置SCI程序之后,我看SCI初始化函数sciInit(),对各个寄存器进行赋值,

scilinREG->CLRINT = 0xFFFFFFFFU;
scilinREG->CLRINTLVL = 0xFFFFFFFFU;

。。。。。。

其中 scilinREG->BAUD = 650;寄存器表中没找到,

其中scilinREG->DOUT, scilinREG->DIR 。。。应该是GPIO的寄存器啊 ,看头文件是给放置在scilinREG结构体中了。是通过什么方式实现的呢,是不是gpio的寄存器啊。放置在一起也可以吗?

谢谢!