Jump to main content

##

# 2.8.17 CAN_RX_BUFFER Struct

## C

    typedef struct
    {
        /* Identifier */
        uint32_t id:29;
        /* Remote Transmission Request */
        uint32_t rtr:1;
        /* Extended Identifier */
        uint32_t xtd:1;
        /* Error State Indicator */
        uint32_t esi:1;

        /* Rx Timestamp */
        uint32_t rxts:16;
        /* Data Length Code */
        uint32_t dlc:4;
        /* Bit Rate Switching */
        uint32_t brs:1;
        /* FD Format */
        uint32_t fdf:1;
        /* Reserved */
        uint32_t :2;
        /* Filter Index */
        uint32_t fidx:7;
        /* Accepted Non-matching Frame */
        uint32_t anmf:1;

        /* Data field */
        uint8_t data[8];

    } CAN_RX_BUFFER;

## Summary

CAN Rx Buffer and FIFO Element Structure.

## Description

This data structure defines CAN Rx Buffer and FIFO Element.

## Remarks

None.