main.pxd.in 580 B

12345678910111213141516
  1. from awlsim.common.cython_support cimport *
  2. from awlsim.core.hardware cimport *
  3. cdef class RpiGPIO_HwInterface(AbstractHardwareInterface):
  4. cdef public object __RPi_GPIO
  5. cdef public dict __inputMap
  6. cdef public dict __outputMap
  7. cdef public list __inputList
  8. cdef public list __outputList
  9. cdef public bytearray __tmpStoreBytes
  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