CANSIG_DATA
Description
This structure contains the current status informations for a signal.
Members
typedef struct { CPU_INT16U Id; CPU_INT08U Status; CANSIG_VAL_T Value; CPU_INT32U TimeStamp; CANSIG_PARA *Cfg; void *Next; } CANSIG_DATA;
Member | Meaning |
---|---|
| The unique signal identifier. |
| The current status of the signal. |
| The current value of the signal.
Note: The type of the value |
| Timestamp of last received signal. Note: The signal will be timestamped when a message is written to the signal layer with function CanMsgWrite(..). The time for the timestamp is received from a timer of the underlying OS and therefore has the resolution of the OS timer. |
| The pointer to the corresponding CAN signal parameters. |
| The pointer to the next signal in the signal list. |
Additional Information
Status | Meaning |
---|---|
| This define holds the coding for the information: 'signal not used'. This status is the default status, before the CAN signal initialization function is called. After the CAN signal initialization, this status remains in the CAN signal interface slots, which is not configured via the configuration structure. |
| This define holds the coding for the information: 'signal is unchanged'. This status will be set, after a signal access with |
| This define holds the coding for the information: 'signal is updated'. This status will be set, after a signal write access with |
| This define holds the coding for the information: 'signal is changed'. This status will be set, when a |
| This define holds the coding for the information: 'signal error'. |