Functions | Variables
cphidgetencoder.c File Reference
#include "stdafx.h"
#include "cphidgetencoder.h"
#include <stdio.h>
#include "cusb.h"
#include "csocket.h"
#include "cthread.h"
Include dependency graph for cphidgetencoder.c:

Go to the source code of this file.

Functions

return CPhidgetEncoder_getEncoderCount (phid, pVal)
return CPhidgetEncoder_getInputCount (phid, pVal)
return CPhidgetEncoder_getPosition (phid, Index, pVal)
return CPhidgetEncoder_setPosition (phid, Index, newVal)
 for (i=0;i< ENCODER_MAXINPUTS;i++)
 for (i=0;i< phid->phid.attr.encoder.numInputs;i++)
 if ()
TESTATTACHED TESTATTACHED
TESTATTACHED TESTATTACHED
TESTATTACHED 
if (CPhidget_statusFlagIsSet(phid->phid.status, PHIDGET_REMOTE_FLAG))
 switch (phid->phid.deviceIDSpec)
 TESTPTR (phid)
 TESTPTRS (phid, buffer)

Variables

unsigned char buffer [8] = { 0 }
int curTime [ENCODER_MAXENCODERS]
unsigned char enabledEcho [ENCODER_MAXINPUTS]
return EPHIDGET_OK
int i = 0
short indexChange [ENCODER_MAXENCODERS]
unsigned char indexTrue [ENCODER_MAXINPUTS]
unsigned char input [ENCODER_MAXINPUTS]
int j = 0
unsigned char lastInputState [ENCODER_MAXINPUTS]
phid outputPacketLen = 0
int packetTime [ENCODER_MAXENCODERS]
short positionChange [ENCODER_MAXENCODERS]
int result
unsigned short timeChange = 0
int timeChangeInt [ENCODER_MAXENCODERS]
unsigned short timeStamp = 0

Function Documentation

return CPhidgetEncoder_getPosition ( phid  ,
Index  ,
pVal   
)
return CPhidgetEncoder_setPosition ( phid  ,
Index  ,
newVal   
)
for ( )

Definition at line 13 of file cphidgetencoder.c.

for ( i  = 0; i<phid->phid.attr.encoder.numInputs; i++)

Definition at line 40 of file cphidgetencoder.c.

if ( )

Definition at line 120 of file cphidgetencoder.c.

Definition at line 395 of file cphidgetencoder.c.

switch ( phid->phid.  deviceIDSpec)

Definition at line 65 of file cphidgetencoder.c.

TESTPTR ( phid  )
TESTPTRS ( phid  ,
buffer   
)

Variable Documentation

unsigned char buffer[8] = { 0 }

Definition at line 31 of file cphidgetencoder.c.

Definition at line 114 of file cphidgetencoder.c.

Definition at line 110 of file cphidgetencoder.c.

return EPHIDGET_OK

Definition at line 24 of file cphidgetencoder.c.

int i = 0

Definition at line 12 of file cphidgetencoder.c.

Definition at line 112 of file cphidgetencoder.c.

unsigned char indexTrue[ENCODER_MAXINPUTS]

Definition at line 109 of file cphidgetencoder.c.

unsigned char input[ENCODER_MAXINPUTS]

Definition at line 108 of file cphidgetencoder.c.

int j = 0

Definition at line 106 of file cphidgetencoder.c.

Definition at line 118 of file cphidgetencoder.c.

Definition at line 37 of file cphidgetencoder.c.

Definition at line 113 of file cphidgetencoder.c.

Definition at line 111 of file cphidgetencoder.c.

int result

Definition at line 32 of file cphidgetencoder.c.

unsigned short timeChange = 0

Definition at line 115 of file cphidgetencoder.c.

Definition at line 116 of file cphidgetencoder.c.

unsigned short timeStamp = 0

Definition at line 115 of file cphidgetencoder.c.



pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:21