blob: 202fffd13d903620d99660582d55ef7905292285 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
from awlsim.common.cython_support cimport *
from awlsim.core.hardware cimport *
cdef class HardwareInterface_LinuxCNC(AbstractHardwareInterface):
cdef public _Bool linuxCNC_initialized
cdef public object LinuxCNC_HAL
cdef public object hal
cdef public uint32_t inputSize
cdef public uint32_t outputSize
cdef public _Bool __configDone
cdef public list __activeInputs
cdef public list __activeOutputs
cdef readInputs(self)
cdef writeOutputs(self)
cdef bytearray directReadInput(self, uint32_t accessWidth, uint32_t accessOffset)
cdef ExBool_t directWriteOutput(self, uint32_t accessWidth, uint32_t accessOffset, bytearray data) except ExBool_val
|