中断每次执行到这里就跑飞。是指针无法指向byte还是其它问题?
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.
中断每次执行到这里就跑飞。是指针无法指向byte还是其它问题?
是否有使用CCS的查看变量的功能来查看 rx_data的内容?
另外能否详细说一下您现在使用的程序?若是例程的话,请给出路径,谢谢
这个是我利用HALcode直接生成的文件,在里面编辑控制逻辑程序,通过CCS在线仿真也查看寄存器了,寄存器的值是有的,还是一执行到 *g_sciTransfer_t[0U].rx_data = byte;这个函数程序就跑飞。单从语句来看是没啥问题,但是程序就是跑飞,是不是哪里还需要配置??