LMS 2012
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
c_input.h File Reference
#include "lms2012.h"

Go to the source code of this file.

Data Structures

struct  DEVICE
 
struct  CALIB
 
struct  INPUT_GLOBALS
 

Macros

#define INPUT_PORTS   INPUTS
 
#define INPUT_DEVICES   (INPUT_PORTS * CHAIN_DEPT)
 
#define OUTPUT_PORTS   OUTPUTS
 
#define OUTPUT_DEVICES   (OUTPUT_PORTS * CHAIN_DEPT)
 
#define DEVICES   (INPUT_DEVICES + OUTPUT_DEVICES)
 
#define INPUT_VALUES   (INPUT_PORTS * 3)
 
#define INPUT_VALUE_SIZE   5
 
#define INPUT_BUFFER_SIZE   (INPUT_VALUES * INPUT_VALUE_SIZE)
 
#define INPUT_SIZE   (INPUT_VALUES * 2)
 
#define INPUT_DEVICE_LIST   OC(opINPUT_DEVICE_LIST,&cInputDeviceList,7,0 )
 
#define InputInstance   (*gInputInstance)
 

Functions

RESULT cInputInit (void)
 
RESULT cInputOpen (void)
 
RESULT cInputClose (void)
 
RESULT cInputExit (void)
 
void cInputChar (DATA8 Char)
 
void cInputUpdate (UWORD Time)
 
RESULT cInputCompressDevice (DATA8 *pDevice, UBYTE Layer, UBYTE Port)
 
RESULT cInputGetDeviceData (DATA8 Layer, DATA8 Port, DATA8 Length, DATA8 *pType, DATA8 *pMode, DATA8 *pData)
 
RESULT cInputSetChainedDeviceType (DATA8 Layer, DATA8 Port, DATA8 Type, DATA8 Mode)
 
void cInputDeviceList (void)
 opINPUT_DEVICE_LIST byte code More...
 
RESULT cInputStartTypeDataUpload (void)
 
void cInputDevice (void)
 opINPUT_DEVICE byte code More...
 
void cInputRead (void)
 opINPUT_READ byte code More...
 
void cInputReadSi (void)
 opINPUT_READSI byte code More...
 
void cInputReadExt (void)
 opINPUT_READEXT byte code More...
 
void cInputTest (void)
 opINPUT_TEST byte code More...
 
void cInputReady (void)
 opINPUT_READY byte code More...
 
void cInputWrite (void)
 opINPUT_WRITE byte code More...
 
void cInputSample (void)
 opINPUT_SAMPLE byte code More...
 
void setInputInstance (INPUT_GLOBALS *_Instance)
 
INPUT_GLOBALSgetInputInstance ()
 

Variables

INPUT_GLOBALSgInputInstance
 

Macro Definition Documentation

#define DEVICES   (INPUT_DEVICES + OUTPUT_DEVICES)

Definition at line 33 of file c_input.h.

#define INPUT_BUFFER_SIZE   (INPUT_VALUES * INPUT_VALUE_SIZE)

Definition at line 37 of file c_input.h.

#define INPUT_DEVICE_LIST   OC(opINPUT_DEVICE_LIST,&cInputDeviceList,7,0 )

Definition at line 62 of file c_input.h.

#define INPUT_DEVICES   (INPUT_PORTS * CHAIN_DEPT)

Definition at line 28 of file c_input.h.

#define INPUT_PORTS   INPUTS

Definition at line 27 of file c_input.h.

#define INPUT_SIZE   (INPUT_VALUES * 2)

Definition at line 38 of file c_input.h.

#define INPUT_VALUE_SIZE   5

Definition at line 36 of file c_input.h.

#define INPUT_VALUES   (INPUT_PORTS * 3)

Definition at line 35 of file c_input.h.

#define InputInstance   (*gInputInstance)

Definition at line 174 of file c_input.h.

#define OUTPUT_DEVICES   (OUTPUT_PORTS * CHAIN_DEPT)

Definition at line 31 of file c_input.h.

#define OUTPUT_PORTS   OUTPUTS

Definition at line 30 of file c_input.h.

Function Documentation

void cInputChar ( DATA8  Char)
RESULT cInputClose ( void  )

Definition at line 3574 of file c_input.c.

RESULT cInputCompressDevice ( DATA8 pDevice,
UBYTE  Layer,
UBYTE  Port 
)

Definition at line 448 of file c_input.c.

void cInputDevice ( void  )

opINPUT_DEVICE byte code

Definition at line 3887 of file c_input.c.

void cInputDeviceList ( void  )

opINPUT_DEVICE_LIST byte code

Definition at line 3678 of file c_input.c.

RESULT cInputExit ( void  )

Definition at line 3584 of file c_input.c.

RESULT cInputGetDeviceData ( DATA8  Layer,
DATA8  Port,
DATA8  Length,
DATA8 pType,
DATA8 pMode,
DATA8 pData 
)

Definition at line 1935 of file c_input.c.

RESULT cInputInit ( void  )

Definition at line 3415 of file c_input.c.

RESULT cInputOpen ( void  )

Definition at line 3564 of file c_input.c.

void cInputRead ( void  )

opINPUT_READ byte code

Definition at line 4688 of file c_input.c.

void cInputReadExt ( void  )

opINPUT_READEXT byte code

Definition at line 4950 of file c_input.c.

void cInputReadSi ( void  )

opINPUT_READSI byte code

Definition at line 4722 of file c_input.c.

void cInputReady ( void  )

opINPUT_READY byte code

Definition at line 4793 of file c_input.c.

void cInputSample ( void  )

opINPUT_SAMPLE byte code

Definition at line 5065 of file c_input.c.

RESULT cInputSetChainedDeviceType ( DATA8  Layer,
DATA8  Port,
DATA8  Type,
DATA8  Mode 
)

Definition at line 1752 of file c_input.c.

RESULT cInputStartTypeDataUpload ( void  )

Definition at line 3243 of file c_input.c.

void cInputTest ( void  )

opINPUT_TEST byte code

Definition at line 4758 of file c_input.c.

void cInputUpdate ( UWORD  Time)

Definition at line 3356 of file c_input.c.

void cInputWrite ( void  )

opINPUT_WRITE byte code

Definition at line 4827 of file c_input.c.

INPUT_GLOBALS* getInputInstance ( )

Definition at line 152 of file c_input.c.

void setInputInstance ( INPUT_GLOBALS _Instance)

Definition at line 147 of file c_input.c.

Variable Documentation

INPUT_GLOBALS* gInputInstance

Definition at line 145 of file c_input.c.