1 # Copyright (C) 2011-2012 W. Trevor King <wking@tremily.us>
3 # This file is part of pycomedi.
5 # pycomedi is free software: you can redistribute it and/or modify it under the
6 # terms of the GNU General Public License as published by the Free Software
7 # Foundation, either version 2 of the License, or (at your option) any later
10 # pycomedi is distributed in the hope that it will be useful, but WITHOUT ANY
11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12 # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License along with
15 # pycomedi. If not, see <http://www.gnu.org/licenses/>.
17 "Expose `Subdevice` internals at the C level for other Cython modules"
19 from pycomedi cimport _comedilib_h
20 from pycomedi cimport command as _command
21 from pycomedi.subdevice_holder cimport SubdeviceHolder as _SubdeviceHolder
24 cdef class Subdevice (_SubdeviceHolder):
25 cpdef dio_bitfield(self, unsigned int bits=*, write_mask=*, base_channel=*)
28 cdef class StreamingSubdevice (Subdevice):
29 cdef public _command.Command cmd
30 cdef public list _command_test_errors