main.pxd.in 750 B

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