Description of all data structures, definitions and functions in the message layer:
Prototype
· CANMSG_DATA CAN MESSAGE OBJECT
· CANMSG_PARA MESSAGE CONFIGURATION
Prototype
· CanMsgInit() INITIALISE CAN SIGNALS
· CanMsgOpen() OPEN A CAN MESSAGE
· CanMsgIoCtl() SIGNAL I/O CONTROL
· CanMsgRead() READ CAN SIGNAL
· CanMsgWrite() WRITE CAN SIGNAL
· CanMsgCreate() CREATE CAN SIGNAL
· CanMsgDelete() DELETE CAN SIGNAL
· CanFrmSet() WRITE VALUE INTO CAN FRAME
· CanFrmGet() READ VALUE OUT OF CAN FRAMEThis layer is responsible for the CAN message construction. A collection of CAN signals can be combined to a CAN message. The mapping of the CAN signals can be changed during runtime or configured static.
Panel | ||||
---|---|---|---|---|
| ||||
Configuration | Meaning | Range | Default |
---|---|---|---|
| This parameter enables (1) or disables (0) the CAN message management. | 0 / 1 | 1 |
| This parameter defines the maximal number of managed CAN messages. | 1 ... 32767 | 1 |
| This parameter enables (1) or disables (0) the argument checking of the CAN bus API functions. | 0 / 1 | 1 |
The CAN message layer is configurable during compile time to minimize memory footprint and optimize performance. The following list shows the configuration parameters and their functionality: