Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

  • No labels