MCPcopy Create free account
hub / github.com/LabPy/lantz / status_byte

Method status_byte

lantz/drivers/ieee4882.py:63–76  ·  view source on GitHub ↗

Status byte, a number between 0-255. Decimal sum of the bits in the register. Bit #6: Master Summary Status Bit (MSS) This bit is set, if one of the bits in STB becomes true and the corresponding bit in the SRE is enabled. Bit #5: Event Summar

(self)

Source from the content-addressed store, hash-verified

61
62 @Feat()
63 def status_byte(self):
64 """Status byte, a number between 0-255.
65
66 Decimal sum of the bits in the register.
67 Bit #6: Master Summary Status Bit (MSS)
68 This bit is set, if one of the bits in STB becomes true
69 and the corresponding bit in the SRE is enabled.
70 Bit #5: Event Summary Bit (ESB)
71 This bit is set, if one of the bits in ESR becomes true
72 and the corresponding bit in the ESE is enabled.
73 Bit #4: Message Available Bit (MAV)
74 This bit is set, if there is a message in the output buffer available.
75 """
76 return int(self.query('*STB?'))
77
78 @Feat()
79 def service_request_enabled(self):

Callers

nothing calls this directly

Calls 1

queryMethod · 0.45

Tested by

no test coverage detected