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

Go to the source code of this file.

Functions

int i_APCI1710_InsnConfigInitTTLIO (struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data)
 
int i_APCI1710_InsnBitsReadTTLIO (struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data)
 
int i_APCI1710_InsnReadTTLIOAllPortValue (struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data)
 
 if (b_ModulNbr< 4)
 

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_StatusReg = 0
 
unsigned char b_ModulNbr = CR_AREF(insn->chanspec)
 
unsigned char b_OutputChannel = CR_CHAN(insn->chanspec)
 
unsigned int ui_State = data[0]
 
 i_ReturnValue = insn->n
 
 else
 

Function Documentation

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

Definition at line 409 of file APCI1710_Ttl.c.

int i_APCI1710_InsnConfigInitTTLIO ( struct comedi_device dev,
struct comedi_subdevice s,
struct comedi_insn insn,
unsigned int data 
)
Copyright (C) 2004,2005  ADDI-DATA GmbH for the source code of this module.

    ADDI-DATA GmbH
    Dieselstrasse 3
    D-77833 Ottersweier
    Tel: +19(0)7223/9493-0
    Fax: +49(0)7223/9493-92
    http://www.addi-data.com
    [email protected]

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

You should also find the complete GPL in the COPYING file accompanying this source code.

Definition at line 103 of file APCI1710_Ttl.c.

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

Definition at line 658 of file APCI1710_Ttl.c.

if ( )

Definition at line 846 of file APCI1710_Ttl.c.

Variable Documentation

b_ModulNbr = CR_AREF(insn->chanspec)

Definition at line 833 of file APCI1710_Ttl.c.

b_OutputChannel = CR_CHAN(insn->chanspec)

Definition at line 834 of file APCI1710_Ttl.c.

Initial value:
{
int i_ReturnValue = 0

Definition at line 830 of file APCI1710_Ttl.c.

unsigned int dw_StatusReg = 0

Definition at line 832 of file APCI1710_Ttl.c.

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

Definition at line 1028 of file APCI1710_Ttl.c.

return i_ReturnValue = insn->n

Definition at line 837 of file APCI1710_Ttl.c.

Definition at line 829 of file APCI1710_Ttl.c.

Output Parameters

Definition at line 828 of file APCI1710_Ttl.c.

Definition at line 829 of file APCI1710_Ttl.c.

ui_State = data[0]

Definition at line 835 of file APCI1710_Ttl.c.