- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wanted to make sure I'm working correctly.
I have 1 ISR (isr_can - see in attached layout) to handle both new Rx message and CAN off state.
- Is this the correct method to check if CAN is in off state: if (CAN_INT_SR_REG & CAN_BUS_OFF_MASK) ?
in a more general way, how can I tell the interrupt source? - How do I clear the interrupt flag of can bus off mask? (to clear receive message flag I do this : CAN_INT_SR_REG = CAN_RX_MESSAGE_MASK)
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you let us know which PSoC 4 device you are using so that we can figure out exactly which PSoC4 device has the registers that you have mentioned.
Also you can go through to the below documents which might help you further
https://www.cypress.com/file/127121/download
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you let us know which PSoC 4 device you are using so that we can figure out exactly which PSoC4 device has the registers that you have mentioned.
Also you can go through to the below documents which might help you further
https://www.cypress.com/file/127121/download
Regards