Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If a task wants to receive a CAN frame, the function CanBusRead() must be called. The following steps will be performed:


Panel
borderWidth0
titleFigure - CAN reception

Image Added


  1. With the receive complete interrupt of the CAN controller, the function CanBusRxHandler() shall be activated.
  2. The handler uses the low level device driver function Read() to get the CAN frame from CAN controller.
  3. The CAN frame will be copied to the internal can receive queue.
  4. CANOS_PostRxFrame is called to indicated the new received frame and the handler exits.

...