summaryrefslogtreecommitdiffstats
path: root/fake/linuxcnc_fake_hal/hal/__init__.py
blob: 59d87c61f45958226f375d300d41507346e81546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
HAL_BIT		= 1
HAL_U32		= 2
HAL_S32		= 3
HAL_FLOAT	= 4
HAL_IN		= 5
HAL_OUT		= 6
HAL_RO		= 7
HAL_RW		= 8

class component(object):
	def __init__(self, name):
		pass

	def newpin(self, p, t, d):
		pass

	def newparam(self, p, t, d):
		pass

	def ready(self):
		pass

	def __getitem__(self, k):
		return 0

	def __setitem__(self, k, v):
		pass
bues.ch cgit interface