S32K312 EB Tresos CAN
2 weeks ago
226 Views
chenyh
Contributor II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
我想使用CAN的接收中断接收数据,但是EB Tresos中没有配置Can中断接收的回调函数,我如何接收数据 Can_43_FLEXCAN_CommonIrqCallback中断定义在配置中,我要自己定义一个函数专门接收数据吗?
5 Replies
2 weeks ago
199 Views
chenyh
Contributor II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
并且我还想能够手动恢复BUSOFF 这样我就必须进入BUSOFF中断设置我自己的标志位,但是CanIf_ControllerBusOff();函数也没有extern,怎么解决这个问题?
a week ago
172 Views

NXP TechSupport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi@chenyh
没明白你的问题,这些中断函数直接在main.c里面直接声明一下不就可以直接用吗
a week ago
169 Views
chenyh
Contributor II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
没有extern 没法用 报重复定义的错误啊 你是怎么用的 可以发个例程给我看看?
a week ago
160 Views

NXP TechSupport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
153 Views
chenyh
Contributor II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
这是我放到main.c里面的报错信息,有解决办法吗?
