F28377S的DCAN模块驱动使用的是ControlSuite中driverlib目录下的CAN.c。能不能像操作其他外设一样通过F2837xS_can.h下的寄存器方式操作Can模块,有没有这方面的例子
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.
F28377S的DCAN模块驱动使用的是ControlSuite中driverlib目录下的CAN.c。能不能像操作其他外设一样通过F2837xS_can.h下的寄存器方式操作Can模块,有没有这方面的例子
对,controlSUITE\device_support\F2837xS\v130\F2837xS_examples_Cpu1下面有CAN的例程,但是是通过controlSUITE\device_support\F2837xS\v130\F2837xS_common\driverlib下的can.c和can.h来操作can的。我是想通过F2837xS_can.h和F2837xS_can.c中那样操作CAN寄存器的方式来使用CAN。今天试了寄存器方式,还没调通