main.pxd.in 569 B

12345678910111213141516
  1. from awlsim.common.cython_support cimport *
  2. from awlsim.core.hardware cimport *
  3. cdef class HardwareInterface_PyProfibus(AbstractHardwareInterface):
  4. cdef public object pyprofibus
  5. cdef public object master
  6. cdef public object phy
  7. cdef public object __conf
  8. cdef public list cachedInputs
  9. cdef public object slaveList
  10. cdef readInputs(self)
  11. cdef writeOutputs(self)
  12. cdef bytearray directReadInput(self, uint32_t accessWidth, uint32_t accessOffset)
  13. cdef ExBool_t directWriteOutput(self, uint32_t accessWidth, uint32_t accessOffset, bytearray data) except ExBool_val