[En-Nut-Discussion] STM32 CAN-Bus

Achim achim_muc1971 at gmx.de
Sun Mar 2 18:31:48 CET 2014

Hi Uwe,
hi Ulrich,

wouldn´t it be goog to expand the NUTCANBUS-Struct with a timeout for
sending messages?

struct _CANBUSINFO {
    HANDLE volatile can_rx_rdy;     /*!< Receiver event queue. */
    HANDLE volatile can_tx_rdy;     /*!< Transmitter event queue. */
    uint32_t can_rx_frames;         /*!< Number of packets received. */
    uint32_t can_tx_frames;         /*!< Number of packets sent. */
    uint32_t can_rx_interrupts;     /*!< Number of interrupts. */
    uint32_t can_tx_interrupts;     /*!< Number of interrupts. */
    uint32_t can_sce_interrupts;    /*!< Number of interrupts. */
    uint32_t can_overruns;          /*!< Number of packet overruns. */
    uint32_t can_errors;            /*!< Number of frame errors. */
    uint32_t can_rx_timeout;            /*!< Receive timeout to wait when no
frame available */
    uint32_t can_tx_timeout;            /*!< Receive timeout to wait when no
frame available */
    CANBUFFER can_RxBuf;            /*!< Buffer for RX queue. */


More information about the En-Nut-Discussion mailing list