Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Drawio sketch
lbox
mVer2
zoom1
simple0
zoominComment10
inCommentcustContentId02859794448
pageId2859827205
custContentIdlbox28597944481
diagramDisplayNameRx Logic
1contentVer5
revision5
baseUrlhttps://uwarg-docs.atlassian.net/wiki
diagramNameRx Logic
pCenter0
width595
links
tbstyle
height763

After this change, the only thing that the interrupt does is add the received CAN frame to a queue. The superloop will call canardHandleRxFrame and dequeue messages in FIFO order. canardHandleRxFrame is a very long function, so this shortens the interrupts significantly.