Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

CANMSG_PARA

Description

This structure contains the configuration information for a signal. A signal represents a piece of information within the application (a single bit, a bit field, a integer value, etc...).

...

Members

typedef

...

struct

...

{

...

CPU_

...

INT32U Identifier;

...

CPU_

...

INT08U Type;

...

CPU_

...

INT08U DLC;

...

CPU_

...

INT08U SigNum;

...

CANMSG_LINK

...

SigLst[CANMSG_MAX_LINK];

}

...

CANMSG_PARA;

Member

Meaning

Identifier

The identifier of the CAN message. For more information about types of identifiers please refer to chapter 3.2.13 Frame layout.

Type

The type of the message

DLC

The DLC of the message

SigNum

The used number of signals in the following link table

SigLst

This array holds the linked signals for this message

...

Additional Information:

Type

Meaning

CANMSG_UNUSED

This define holds the coding for the information: 'message not used'. This status is the default status, before the CAN message initialization function is called. After the CAN message initialization, this status remains in the CAN message interface slots, which is not configured via the configuration structure.

CANMSG_TX

This define holds the coding for the information: 'transmit message'. This status will be set, after a signal is created with a corresponding transmit configuration.

CANMSG_RX

This define holds the coding for the information: 'receive message'. This status will be set, after a signal is created with a corresponding receive configuration.

End