Nut/OS  5.0.5
API Reference
_CANINFO Struct Reference

CAN controller information structure. This is installed in heap at initializaton of a bus. More...

#include <can_dev.h>

Collaboration diagram for _CANINFO:
[legend]

Data Fields

HANDLE volatile can_rx_rdy
HANDLE volatile can_tx_rdy
uint32_t can_rx_frames
uint32_t can_tx_frames
uint32_t can_interrupts
uint32_t can_overruns
uint32_t can_errors

Detailed Description

CAN controller information structure. This is installed in heap at initializaton of a bus.

CAN controller information structure.

We need a counter for every interrupt, or otherwise we need to use atomic increment


Field Documentation

Receiver event queue.

Referenced by AtCanInput(), and SJAInput().

Transmitter event queue.

Referenced by AtCanOutput(), CAN_Tx(), and SJAOutput().

Number of packets received.

Number of packets sent.

Referenced by CAN_Tx().

Number of interrupts.

Number of packet overruns.

Number of frame errors.


The documentation for this struct was generated from the following file: