Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Related Pages  

Cop_Data Struct Reference
[Coprocessor Module]

#include <coprocessor.h>


Data Fields

__u8 Datarxd
int ptogo
int psize
char packet [MAXPACKETSIZE]
__u16 Internal_AD [INTERNAL_ATOD_NUM]
__u16 External_AD [EXTERNAL_ATOD_NUM]
PWMconfig PWM_config [PWMNUM]
countdata counter_data [COUNTNUM]
countconfig counter_config [COUNTNUM]
__u8 Digital [2]
char RS232_string [RS232BUFSIZE]
char RS422_string [RS422BUFSIZE]
char Key
E12Can_Message * CAN_message
VersionInfo version
RG_ParseMask parsemask
PcpkPacket packetdata
void * userdata


Detailed Description

The Cop_Data typedef This is a type of structure created and initialized by CopDeviceCreate. It is used for the stored of packet data currently being parsed, as well as to store data that has already been parsed and is being passed back to the user.
See also:
CopDeviceCreate , CopDeviceDestroy , E12_Packet_Route

Definition at line 143 of file coprocessor.h.


Field Documentation

E12Can_Message* Cop_Data::CAN_message
 

Can message

Definition at line 171 of file coprocessor.h.

Referenced by CopParsePacket().

countconfig Cop_Data::counter_config[COUNTNUM]
 

config settings for the counters this is currently a shadow variable

Definition at line 161 of file coprocessor.h.

Referenced by CopParsePacket(), E12_CountConfig(), and E12_PWMControl().

countdata Cop_Data::counter_data[COUNTNUM]
 

8 16 bit counters

Definition at line 159 of file coprocessor.h.

Referenced by CopParsePacket(), and E12_CounterCalcFreq().

__u8 Cop_Data::Datarxd
 

Data received flag

Definition at line 145 of file coprocessor.h.

__u8 Cop_Data::Digital[2]
 

Digital IO ports (port1 output state only)

Definition at line 163 of file coprocessor.h.

Referenced by CopParsePacket().

__u16 Cop_Data::External_AD[EXTERNAL_ATOD_NUM]
 

optional external A to D channels 16-23

Definition at line 155 of file coprocessor.h.

Referenced by CopParsePacket().

__u16 Cop_Data::Internal_AD[INTERNAL_ATOD_NUM]
 

internal A to D channels 0-15

Definition at line 153 of file coprocessor.h.

Referenced by CopParsePacket().

char Cop_Data::Key
 

Keypad character

Definition at line 169 of file coprocessor.h.

Referenced by CopParsePacket().

char Cop_Data::packet[MAXPACKETSIZE]
 

the current packet being worked on

Definition at line 151 of file coprocessor.h.

Referenced by CopGetPacket(), CopPackBreak(), CopPacketMask(), CopPacketStart(), and CopParsePacket().

PcpkPacket Cop_Data::packetdata
 

Parsed packet information, see packet.h

Definition at line 177 of file coprocessor.h.

Referenced by CopPacketMask(), CopPacketStart(), and CopParsePacket().

RG_ParseMask Cop_Data::parsemask
 

parsemask for multiple channel RGs

Definition at line 175 of file coprocessor.h.

Referenced by CopParsePacket(), E12_Packet_Route(), E12_Parse_Until(), UpdatetHardwareCounterInfo(), and UpdatetHardwarePWMInfo().

int Cop_Data::psize
 

number of chars currently in the packet

Definition at line 149 of file coprocessor.h.

Referenced by CopGetPacket(), CopPackBreak(), CopPacketMask(), CopPacketStart(), CopParsePacket(), E12_Packet_Route(), and E12_Parse_Until().

int Cop_Data::ptogo
 

data bytes remaining in current packet

Definition at line 147 of file coprocessor.h.

Referenced by CopGetPacket(), CopPacketMask(), and CopParsePacket().

PWMconfig Cop_Data::PWM_config[PWMNUM]
 

config settings for the PWMs this is currently a shadow variable

Definition at line 157 of file coprocessor.h.

Referenced by CopParsePacket(), E12_CountConfig(), and E12_PWMControl().

char Cop_Data::RS232_string[RS232BUFSIZE]
 

RS232 serial port string

Definition at line 165 of file coprocessor.h.

Referenced by CopParsePacket().

char Cop_Data::RS422_string[RS422BUFSIZE]
 

RS422 serial port string

Definition at line 167 of file coprocessor.h.

Referenced by CopParsePacket().

void* Cop_Data::userdata
 

general purpose user data pointer

Definition at line 179 of file coprocessor.h.

VersionInfo Cop_Data::version
 

Firmware Version information

Definition at line 173 of file coprocessor.h.

Referenced by CopParsePacket().


The documentation for this struct was generated from the following file:
Generated on Thu Jan 8 09:51:00 2004 for PCM-37e12 by doxygen1.2.15