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

Go to the source code of this file.

Functions

return CPhidgetInterfaceKit_getInputCount (phid, pVal)
return CPhidgetInterfaceKit_getOutputCount (phid, pVal)
static int CPhidgetInterfaceKit_getPacket (CPhidgetHandle, unsigned char *, unsigned int *)
return CPhidgetInterfaceKit_getSensorCount (phid, pVal)
static int CCONV CPhidgetInterfaceKit_sendpacket (CPhidgetInterfaceKitHandle phid, unsigned int Index, unsigned int newVal)
 for ()
 for (j=0;j< phid->phid.attr.ifkit.numInputs;j++)
 for (i=0;i< phid->phid.attr.ifkit.numInputs;i++)
 if ()
 if (ratiometricEcho!=PUNK_BOOL)
TESTATTACHED TESTATTACHED
TESTATTACHED TESTATTACHED
TESTATTACHED 
if (CPhidget_statusFlagIsSet(phid->phid.status, PHIDGET_REMOTE_FLAG))
 switch (phid->phid.deviceIDSpec)
 TESTPTR (phid)

Variables

phid phid awdc_enabled = FALSE
unsigned char buffer [8] = { 0 }
phid dataRateMax = PUNI_INT
phid dataRateMin = PUNI_INT
phid dataSinceAttach = 0
if lenp return EPHIDGET_INVALIDARG
return EPHIDGET_OK
phid fullStateEcho = PUNK_BOOL
int i = 0
unsigned char inputState [IFKIT_MAXINPUTS]
phid interruptRate = PUNI_INT
int j = 0
int k = 0
phid lastChangedOutput = PUNK_INT
unsigned char lastInputState [IFKIT_MAXINPUTS]
unsigned char lastOutputState [IFKIT_MAXOUTPUTS]
phid lastPacketCount = -1
unsigned int len = 8
lenp = phid->phid.outputReportByteLength
phid maxDataPerPacket = phid->phid.attr.ifkit.numSensors
unsigned char outputState [IFKIT_MAXOUTPUTS]
CPhidgetInterfaceKitHandle phid = (CPhidgetInterfaceKitHandle)phidG
phid ratiometric = PUNI_BOOL
phid ratiometricEcho = PUNK_BOOL
phid ratiometricSwitching = 0
int readtries = 0
int result
int sensorDataCount [IFKIT_MAXSENSORS]
int sensorRawValue [IFKIT_MAXSENSORS][IFKIT_MAX_DATA_PER_PACKET]
int sensorValue [IFKIT_MAXSENSORS][IFKIT_MAX_DATA_PER_PACKET]

Function Documentation

static int CPhidgetInterfaceKit_getPacket ( CPhidgetHandle  ,
unsigned char *  ,
unsigned int *   
) [static]
static int CCONV CPhidgetInterfaceKit_sendpacket ( CPhidgetInterfaceKitHandle  phid,
unsigned int  Index,
unsigned int  newVal 
) [static]

Definition at line 993 of file cphidgetinterfacekit.c.

for ( )

Definition at line 24 of file cphidgetinterfacekit.c.

for ( j  = 0; j<phid->phid.attr.ifkit.numInputs; j++)

Definition at line 134 of file cphidgetinterfacekit.c.

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

Definition at line 844 of file cphidgetinterfacekit.c.

if ( )

Definition at line 313 of file cphidgetinterfacekit.c.

if ( ratiometricEcho!  = PUNK_BOOL)

Definition at line 704 of file cphidgetinterfacekit.c.

Definition at line 1108 of file cphidgetinterfacekit.c.

switch ( phid->phid.  deviceIDSpec)

Definition at line 63 of file cphidgetinterfacekit.c.

TESTPTR ( phid  )

Variable Documentation

Definition at line 57 of file cphidgetinterfacekit.c.

unsigned char buffer[8] = { 0 }

Definition at line 50 of file cphidgetinterfacekit.c.

Definition at line 21 of file cphidgetinterfacekit.c.

Definition at line 20 of file cphidgetinterfacekit.c.

Definition at line 62 of file cphidgetinterfacekit.c.

Definition at line 878 of file cphidgetinterfacekit.c.

return EPHIDGET_OK

Definition at line 42 of file cphidgetinterfacekit.c.

Definition at line 18 of file cphidgetinterfacekit.c.

int i = 0

Definition at line 13 of file cphidgetinterfacekit.c.

unsigned char inputState[IFKIT_MAXINPUTS]

Definition at line 307 of file cphidgetinterfacekit.c.

Definition at line 22 of file cphidgetinterfacekit.c.

int j = 0

Definition at line 48 of file cphidgetinterfacekit.c.

int k = 0

Definition at line 304 of file cphidgetinterfacekit.c.

Definition at line 17 of file cphidgetinterfacekit.c.

Definition at line 307 of file cphidgetinterfacekit.c.

Definition at line 306 of file cphidgetinterfacekit.c.

Definition at line 61 of file cphidgetinterfacekit.c.

Definition at line 51 of file cphidgetinterfacekit.c.

* lenp = phid->phid.outputReportByteLength

Definition at line 984 of file cphidgetinterfacekit.c.

phid maxDataPerPacket = phid->phid.attr.ifkit.numSensors

Definition at line 59 of file cphidgetinterfacekit.c.

unsigned char outputState[IFKIT_MAXOUTPUTS]

Definition at line 306 of file cphidgetinterfacekit.c.

Definition at line 873 of file cphidgetinterfacekit.c.

Definition at line 15 of file cphidgetinterfacekit.c.

Definition at line 16 of file cphidgetinterfacekit.c.

Definition at line 19 of file cphidgetinterfacekit.c.

int readtries = 0

Definition at line 49 of file cphidgetinterfacekit.c.

int result

Definition at line 52 of file cphidgetinterfacekit.c.

Definition at line 310 of file cphidgetinterfacekit.c.

Definition at line 309 of file cphidgetinterfacekit.c.

Definition at line 308 of file cphidgetinterfacekit.c.



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