from awlsim.common.cython_support cimport *
from awlsim.core.hardware cimport *

cdef class RpiGPIO_HwInterface(AbstractHardwareInterface):
	cdef public object __RPi_GPIO
	cdef public dict __inputMap
	cdef public dict __outputMap
	cdef public list __inputList
	cdef public list __outputList
	cdef public bytearray __tmpStoreBytes

	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
