Functions
ifkit.c File Reference
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <libphidgets/phidget21.h>
Include dependency graph for ifkit.c:

Go to the source code of this file.

Functions

void display_generic_properties (CPhidgetHandle phid)
 
int IFK_AttachHandler (CPhidgetHandle IFK, void *userptr)
 
int IFK_DetachHandler (CPhidgetHandle IFK, void *userptr)
 
int IFK_ErrorHandler (CPhidgetHandle IFK, void *userptr, int ErrorCode, const char *unknown)
 
int IFK_InputChangeHandler (CPhidgetInterfaceKitHandle IFK, void *userptr, int Index, int Value)
 
int IFK_OutputChangeHandler (CPhidgetInterfaceKitHandle IFK, void *userptr, int Index, int Value)
 
int IFK_SensorChangeHandler (CPhidgetInterfaceKitHandle IFK, void *userptr, int Index, int Value)
 
int main (int argc, char *argv[])
 
int test_interfacekit ()
 

Function Documentation

◆ display_generic_properties()

void display_generic_properties ( CPhidgetHandle  phid)

Definition at line 27 of file ifkit.c.

◆ IFK_AttachHandler()

int IFK_AttachHandler ( CPhidgetHandle  IFK,
void *  userptr 
)

Definition at line 72 of file ifkit.c.

◆ IFK_DetachHandler()

int IFK_DetachHandler ( CPhidgetHandle  IFK,
void *  userptr 
)

Definition at line 41 of file ifkit.c.

◆ IFK_ErrorHandler()

int IFK_ErrorHandler ( CPhidgetHandle  IFK,
void *  userptr,
int  ErrorCode,
const char *  unknown 
)

Definition at line 47 of file ifkit.c.

◆ IFK_InputChangeHandler()

int IFK_InputChangeHandler ( CPhidgetInterfaceKitHandle  IFK,
void *  userptr,
int  Index,
int  Value 
)

Definition at line 59 of file ifkit.c.

◆ IFK_OutputChangeHandler()

int IFK_OutputChangeHandler ( CPhidgetInterfaceKitHandle  IFK,
void *  userptr,
int  Index,
int  Value 
)

Definition at line 53 of file ifkit.c.

◆ IFK_SensorChangeHandler()

int IFK_SensorChangeHandler ( CPhidgetInterfaceKitHandle  IFK,
void *  userptr,
int  Index,
int  Value 
)

Definition at line 65 of file ifkit.c.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 139 of file ifkit.c.

◆ test_interfacekit()

int test_interfacekit ( )

Definition at line 79 of file ifkit.c.



cob_phidgets
Author(s): Florian Weisshardt
autogenerated on Thu Nov 17 2022 03:17:33