TYPE_msg_frame Struct Reference
[Des70_10]

struct with message frame More...

#include <des70_10.h>

Data Fields

unsigned char OpCode
 instruction command, according DES command reference
unsigned char data [520]
 array with all the bytes to be sent by serial port, except OpCode. data[size,size+1]=crc
int size
 size - var with the number of bytes to be sent by serial port data[n]={data[0]=len-1|data[1]...data[n]}. So size=(data[0]+1)*2+1
int crc
 msg crc get according CCITT algorithm

Detailed Description

struct with message frame


Field Documentation

msg crc get according CCITT algorithm

Referenced by calc_crc_16(), read_buffer(), and send_data().

unsigned char TYPE_msg_frame::data[520]
unsigned char TYPE_msg_frame::OpCode

size - var with the number of bytes to be sent by serial port data[n]={data[0]=len-1|data[1]...data[n]}. So size=(data[0]+1)*2+1

Referenced by calc_crc_16(), DES_ST_read_error(), read_buffer(), and send_data().


The documentation for this struct was generated from the following file:
Generated on Wed Jun 2 12:43:29 2010 for LAR Atlas by  doxygen 1.6.3