rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Data Fields
CANRxFrame Struct Reference

#include <can_mocks.h>

Collaboration diagram for CANRxFrame:
Collaboration graph
[legend]

Data Fields

struct { 
 
   uint8_t   FMI 
 Filter id.
More...
 
   uint16_t   TIME 
 Time stamp.
More...
 
};  
 
struct { 
 
   uint8_t   DLC:4 
 Data length.
More...
 
   uint8_t   RTR:1 
 Frame type.
More...
 
   uint8_t   IDE:1 
 Identifier type.
More...
 
};  
 
union { 
 
   struct { 
 
      uint32_t   SID:11 
 Standard identifier. More...
 
   }  
 
   struct { 
 
      uint32_t   EID:29 
 Extended identifier. More...
 
   }  
 
};  
 
union { 
 
   uint8_t   data8 [8] 
 Frame data.
More...
 
   uint16_t   data16 [4] 
 Frame data.
More...
 
   uint32_t   data32 [2] 
 Frame data.
More...
 
   uint64_t   data64 [1] 
 Frame data.
More...
 
};  
 

Detailed Description

Definition at line 36 of file can_mocks.h.

Field Documentation

◆ [struct]

struct { ... } CANRxFrame

◆ [struct]

struct { ... } CANRxFrame

◆ [union]

union { ... } CANRxFrame

◆ [union]

union { ... } CANRxFrame

◆ data16

uint16_t CANRxFrame::data16[4]

Frame data.

Definition at line 56 of file can_mocks.h.

Referenced by AemXSeriesWideband::decodeAemXSeries(), and AemXSeriesEgt::decodeFrame().

◆ data32

uint32_t CANRxFrame::data32[2]

Frame data.

Definition at line 57 of file can_mocks.h.

◆ data64

uint64_t CANRxFrame::data64[1]

Frame data.

Definition at line 58 of file can_mocks.h.

◆ data8

uint8_t CANRxFrame::data8[8]

◆ DLC

uint8_t CANRxFrame::DLC

◆ EID

uint32_t CANRxFrame::EID

Extended identifier.

Definition at line 51 of file can_mocks.h.

Referenced by CanReceivePacket().

◆ FMI

uint8_t CANRxFrame::FMI

Filter id.

Definition at line 38 of file can_mocks.h.

◆ IDE

uint8_t CANRxFrame::IDE

Identifier type.

Definition at line 44 of file can_mocks.h.

Referenced by CanReceivePacket().

◆ RTR

uint8_t CANRxFrame::RTR

Frame type.

Definition at line 43 of file can_mocks.h.

◆ SID

uint32_t CANRxFrame::SID

Standard identifier.

Definition at line 48 of file can_mocks.h.

Referenced by CanReceivePacket().

◆ TIME

uint16_t CANRxFrame::TIME

Time stamp.

Definition at line 39 of file can_mocks.h.


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