aboutsummaryrefslogtreecommitdiffstats
path: root/awlsim/core/statusword.pxd.in
blob: 813e16993dad04214c0a2a88f158ac809e275ce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 _Bool getByBitNumber(self, uint8_t bitNumber)
	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)
bues.ch cgit interface