Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
APCI1710_82x54.c File Reference
#include "APCI1710_82x54.h"

Go to the source code of this file.

Functions

int i_APCI1710_InsnConfigInitTimer (struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data)
 
 if (b_ModulNbr< 4)
 
int i_APCI1710_InsnReadAllTimerValue (struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data)
 
int i_APCI1710_InsnBitsTimer (struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data)
 
int i_APCI1710_ReadTimerValue (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_TimerNbr, unsigned int *pul_TimerValue)
 
int i_APCI1710_GetTimerOutputLevel (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_TimerNbr, unsigned char *pb_OutputLevel)
 
int i_APCI1710_GetTimerProgressStatus (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_TimerNbr, unsigned char *pb_TimerStatus)
 
int i_APCI1710_WriteTimerValue (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_TimerNbr, unsigned int ul_WriteValue)
 

Variables

Output Parameters
 
Output struct comedi_subdevices
 
Output struct comedi_subdevice
struct comedi_insn
insn
 
Output struct comedi_subdevice
struct comedi_insn unsigned
int
data
 
unsigned int dw_DummyRead
 
unsigned char b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec)
 
unsigned char b_TimerNbr = (unsigned char) CR_CHAN(insn->chanspec)
 
unsigned char b_ActionType = (unsigned char) data[0]
 
unsigned char b_InterruptEnable
 
 i_ReturnValue = insn->n
 
 else
 

Function Documentation

int i_APCI1710_GetTimerOutputLevel ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_TimerNbr,
unsigned char pb_OutputLevel 
)

Definition at line 851 of file APCI1710_82x54.c.

int i_APCI1710_GetTimerProgressStatus ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_TimerNbr,
unsigned char pb_TimerStatus 
)

Definition at line 930 of file APCI1710_82x54.c.

int i_APCI1710_InsnBitsTimer ( struct comedi_device dev,
struct comedi_subdevice s,
struct comedi_insn insn,
unsigned int data 
)

Definition at line 684 of file APCI1710_82x54.c.

int i_APCI1710_InsnConfigInitTimer ( struct comedi_device dev,
struct comedi_subdevice s,
struct comedi_insn insn,
unsigned int data 
)

Definition at line 222 of file APCI1710_82x54.c.

int i_APCI1710_InsnReadAllTimerValue ( struct comedi_device dev,
struct comedi_subdevice s,
struct comedi_insn insn,
unsigned int data 
)

Definition at line 593 of file APCI1710_82x54.c.

int i_APCI1710_ReadTimerValue ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_TimerNbr,
unsigned int pul_TimerValue 
)

Definition at line 763 of file APCI1710_82x54.c.

int i_APCI1710_WriteTimerValue ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_TimerNbr,
unsigned int  ul_WriteValue 
)

Definition at line 1009 of file APCI1710_82x54.c.

if ( )

Definition at line 468 of file APCI1710_82x54.c.

Variable Documentation

b_ActionType = (unsigned char) data[0]

Definition at line 459 of file APCI1710_82x54.c.

unsigned char b_InterruptEnable

Definition at line 460 of file APCI1710_82x54.c.

b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec)

Definition at line 457 of file APCI1710_82x54.c.

b_TimerNbr = (unsigned char) CR_CHAN(insn->chanspec)

Definition at line 458 of file APCI1710_82x54.c.

Initial value:
{
int i_ReturnValue = 0

Definition at line 454 of file APCI1710_82x54.c.

unsigned int dw_DummyRead

Definition at line 456 of file APCI1710_82x54.c.

else
Initial value:
{
DPRINTK("Module number error\n")

Definition at line 549 of file APCI1710_82x54.c.

return i_ReturnValue = insn->n

Definition at line 462 of file APCI1710_82x54.c.

Definition at line 453 of file APCI1710_82x54.c.

Output Parameters

Definition at line 451 of file APCI1710_82x54.c.

Definition at line 452 of file APCI1710_82x54.c.