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

Go to the source code of this file.

Functions

return CPhidgetLED_getLEDCount (phid, pVal)
static int CCONV CPhidgetLED_sendpacket (CPhidgetLEDHandle phid, unsigned int index, double power)
return CPhidgetLED_setBrightness (phid, Index,(double) newVal)
 for (i=0;i< LED_MAXLEDS;i++)
 if ()
 if (phid->changeRequests) CThread_set_event(&phid->phid.writeAvailableEvent)
TESTATTACHED if (CPhidget_statusFlagIsSet(phid->phid.status, PHIDGET_REMOTE_FLAG))
 switch (phid->phid.deviceUID)
 TESTPTR (phid)

Variables

phid changeRequests = PUNK_BOOL
phid controlPacketWaiting = PFALSE
phid currentLimit = PHIDGET_LED_CURRENT_LIMIT_20mA
phid currentLimitEcho = -1
if lenp return EPHIDGET_INVALIDARG
return EPHIDGET_OK
char error_buffer [50]
phid faultEcho = PUNK_BOOL
int i = 0
lenp = phid->phid.outputReportByteLength
int numLeds = 0
phid outputEnableEcho = PUNK_BOOL
phid PGoodErrState = PFALSE
 phid = 0
phid powerGoodEcho = PUNK_BOOL
TESTATTACHED TESTATTACHEDpVal = phid->LED_Power[Index]
int ret = CPhidgetLED_getBrightness(phid, Index, &val)
double val
phid voltage = PHIDGET_LED_VOLTAGE_2_75V
phid voltageEcho = -1

Function Documentation

return CPhidgetLED_getLEDCount ( phid  ,
pVal   
)
static int CCONV CPhidgetLED_sendpacket ( CPhidgetLEDHandle  phid,
unsigned int  index,
double  power 
) [static]

Definition at line 753 of file cphidgetled.c.

return CPhidgetLED_setBrightness ( phid  ,
Index  ,
(double)  newVal 
)
for ( )

Definition at line 15 of file cphidgetled.c.

if ( )

Definition at line 155 of file cphidgetled.c.

if ( phid->  changeRequests)

Definition at line 142 of file cphidgetrfid.c.

Definition at line 843 of file cphidgetled.c.

switch ( phid->phid.  deviceUID)

Definition at line 54 of file cphidgetled.c.

TESTPTR ( phid  )

Variable Documentation

Definition at line 13 of file cphidgetled.c.

Definition at line 103 of file cphidgetled.c.

Definition at line 30 of file cphidgetled.c.

Definition at line 40 of file cphidgetled.c.

Definition at line 456 of file cphidgetled.c.

return EPHIDGET_OK

Definition at line 43 of file cphidgetled.c.

char error_buffer[50]

Definition at line 153 of file cphidgetled.c.

Definition at line 31 of file cphidgetled.c.

int i = 0

Definition at line 11 of file cphidgetled.c.

* lenp = phid->phid.outputReportByteLength

Definition at line 744 of file cphidgetled.c.

int numLeds = 0

Definition at line 449 of file cphidgetled.c.

Definition at line 39 of file cphidgetled.c.

Definition at line 37 of file cphidgetled.c.

Definition at line 442 of file cphidgetled.c.

Definition at line 38 of file cphidgetled.c.

* pVal = phid->LED_Power[Index]

Definition at line 833 of file cphidgetled.c.

Definition at line 1038 of file cphidgetled.c.

double val

Definition at line 1037 of file cphidgetled.c.

Definition at line 29 of file cphidgetled.c.

Definition at line 41 of file cphidgetled.c.



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