vcan_pb_dump¶
Here is the definition:
typedef struct
{ byte data[16] CDEP_NOALIGN_ATTR;
long offset CDEP_NOALIGN_ATTR;
long datasize CDEP_NOALIGN_ATTR;
} vcan_pb_dump;
This driver-call-sub-structure is used to dump a part of the so called
‘parameter buffer’ of the VME-CAN2 card. It is used in conjunction with the
VCAN_READ_OBJ_CTRL
sub-function. The buffer has a size of 256 bytes, but
only 16 bytes can be read from this buffer at a time.
- data
This array of 16 bytes contains a part of the parameter-buffer of the VME-CAN2 card after the execution of the command.
- offset
This is the offset into the parameter-buffer, since only a part of the buffer can be read at a time. The first byte of the buffer has an offset of 0.
- datasize
This is the size of the data that has to be read. This number can only be in the range of 1 to 16. Note that it is an error, to read over the end of the internal parameter-buffer, e.g. when offset`` is 250,
datasize
must not be greater than 6.