summaryrefslogtreecommitdiffstats
path: root/awlsimhw_rpigpio/main.pxd.in
blob: 61627c113faba249ca121d5fb0ca00bc9dcbac3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 _Bool directWriteOutput(self, uint32_t accessWidth, uint32_t accessOffset, bytearray data)
bues.ch cgit interface