aboutsummaryrefslogtreecommitdiffstats
path: root/awlsim/core/statusword.pxd.in
blob: ffc3a856b0bf7dc18b572de54a7ef257ebb91d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from awlsim.common.cython_support cimport *

cdef class S7StatusWord(object):
	cdef _Bool NER
	cdef _Bool VKE
	cdef _Bool STA
	cdef _Bool OR
	cdef _Bool OS
	cdef _Bool OV
	cdef _Bool A0
	cdef _Bool A1
	cdef _Bool BIE

	cdef __eq(self, object other)
	cdef ExBool_t getByBitNumber(self, uint8_t bitNumber) except ExBool_val
	cdef void reset(self)
	cdef uint16_t getWord(self)
	cdef void setWord(self, uint16_t word)
	cdef dup(self)
	cdef void setForFloatingPoint(self, double pyFloat)
	cdef void setForFloatingPointDWord(self, uint32_t dword)
bues.ch cgit interface