If a task wants to receive a CAN frame, the function CanBusRead()
must be called. The following steps will be performed:
Panel | ||||
---|---|---|---|---|
| ||||
- With the receive complete interrupt of the CAN controller, the function
CanBusRxHandler()
shall be activated. - The handler uses the low level device driver function
Read()
to get the CAN frame from CAN controller. - The CAN frame will be copied to the internal can receive queue.
CANOS_P
ostRxFrame is called to indicated the new received frame and the handler exits.
...