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

Go to the source code of this file.

Functions

return CPhidgetTextLCD_getColumnCount (phid, pVal)
return CPhidgetTextLCD_getRowCount (phid, pVal)
PHIDGET21_API int CCONV CPhidgetTextLCD_initialize (CPhidgetTextLCDHandle phid)
PHIDGET21_API int CCONV CPhidgetTextLCD_setCustomCharacter (CPhidgetTextLCDHandle phid, int Index, int Val1, int Val2)
PHIDGET21_API int CCONV CPhidgetTextLCD_setDisplayCharacter (CPhidgetTextLCDHandle phid, int Row, int Column, unsigned char Character)
static void escapeLcdString (char *string, char *buffer, int *buf_ptr)
 for (i=0;i< TEXTLCD_MAXSCREENS;i++)
 for (i=0;i< phid->phid.attr.textlcd.numScreens;i++)
static int getScreenAndPos (CPhidgetTextLCDHandle phid, int *screen, int row, int col)
 if (phid->fullStateEcho) CPhidget_read((CPhidgetHandle) phid)
 if (CPhidget_statusFlagIsSet(phid->phid.status, PHIDGET_REMOTE_FLAG))
 if (screen==1)
 if (phid->screenSize[otherScreen]==PHIDGET_TEXTLCD_SCREEN_4x40 &&newVal!=PHIDGET_TEXTLCD_SCREEN_NONE)
 if (len >(size_t) phid->columnCount[screen]) return EPHIDGET_INVALIDARG
 switch (phid->phid.deviceIDSpec)
 TESTPTR (phid)

Variables

int buf_ptr
unsigned char buffer [8] = {0}
phid currentScreen = 0
return EPHIDGET_OK
unsigned char form_buffer [250] = {0}
phid fullStateEcho = PFALSE
int i
TESTATTACHED TESTATTACHED
TESTATTACHED TESTATTACHED int 
Index = phid->currentScreen
int j
phid lastScreen = 0
size_t len = strlen(newVal)
 otherScreen = 1
phid outputPacketLen = 0
 phid = 0
int pos
int ret = EPHIDGET_OK
int screen = phid->currentScreen
int screenEnable

Function Documentation

return CPhidgetTextLCD_getRowCount ( phid  ,
pVal   
)
PHIDGET21_API int CCONV CPhidgetTextLCD_setCustomCharacter ( CPhidgetTextLCDHandle  phid,
int  Index,
int  Val1,
int  Val2 
)

Definition at line 889 of file cphidgettextlcd.c.

PHIDGET21_API int CCONV CPhidgetTextLCD_setDisplayCharacter ( CPhidgetTextLCDHandle  phid,
int  Row,
int  Column,
unsigned char  Character 
)

Definition at line 786 of file cphidgettextlcd.c.

static void escapeLcdString ( char *  string,
char *  buffer,
int *  buf_ptr 
) [static]

Definition at line 989 of file cphidgettextlcd.c.

for ( )

Definition at line 52 of file cphidgettextlcd.c.

for ( i  = 0; i<phid->phid.attr.textlcd.numScreens; i++)

Definition at line 147 of file cphidgettextlcd.c.

static int getScreenAndPos ( CPhidgetTextLCDHandle  phid,
int *  screen,
int  row,
int  col 
) [static]

Definition at line 368 of file cphidgettextlcd.c.

if ( phid->  fullStateEcho)

Definition at line 142 of file cphidgetrfid.c.

Definition at line 462 of file cphidgettextlcd.c.

if ( screen  = = 1)

Definition at line 674 of file cphidgettextlcd.c.

if ( phid->  screenSize[otherScreen] = PHIDGET_TEXTLCD_SCREEN_4x40 && newVal != PHIDGET_TEXTLCD_SCREEN_NONE)

Definition at line 753 of file cphidgettextlcd.c.

if ( len  ,
(size_t) phid->  columnCount[screen] 
)
switch ( phid->phid.  deviceIDSpec)

Definition at line 86 of file cphidgettextlcd.c.

TESTPTR ( phid  )

Variable Documentation

int buf_ptr

Definition at line 1004 of file cphidgettextlcd.c.

unsigned char buffer[8] = {0}

Definition at line 81 of file cphidgettextlcd.c.

Definition at line 71 of file cphidgettextlcd.c.

return EPHIDGET_OK

Definition at line 74 of file cphidgettextlcd.c.

unsigned char form_buffer[250] = {0}

Definition at line 1006 of file cphidgettextlcd.c.

Definition at line 129 of file cphidgettextlcd.c.

int i

Definition at line 50 of file cphidgettextlcd.c.

Definition at line 454 of file cphidgettextlcd.c.

int j

Definition at line 1004 of file cphidgettextlcd.c.

Definition at line 72 of file cphidgettextlcd.c.

TESTATTACHED len = strlen(newVal)

Definition at line 1005 of file cphidgettextlcd.c.

Definition at line 673 of file cphidgettextlcd.c.

Definition at line 124 of file cphidgettextlcd.c.

phid = 0

Definition at line 202 of file cphidgettextlcd.c.

int pos

Definition at line 1008 of file cphidgettextlcd.c.

Definition at line 82 of file cphidgettextlcd.c.

Definition at line 214 of file cphidgettextlcd.c.

Definition at line 1008 of file cphidgettextlcd.c.



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