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

Method event_status_enabled

lantz/drivers/ieee4882.py:100–112  ·  view source on GitHub ↗

Enables bits in the enable register for the Standard Event Register group. The selected bits are then reported to bit 5 of the Status Byte Register. Decimal sum of the bits in the register. Bit #7: Enable ESB when Power on or restart Bit #5: Enable ESB when a Command

(self)

Source from the content-addressed store, hash-verified

98
99 @Feat()
100 def event_status_enabled(self):
101 """Enables bits in the enable register for the Standard Event Register group.
102 The selected bits are then reported to bit 5 of the Status Byte Register.
103
104 Decimal sum of the bits in the register.
105 Bit #7: Enable ESB when Power on or restart
106 Bit #5: Enable ESB when a Command Error occur
107 Bit #3: Enable ESB when a Device Dependent Error occur
108 Bit #0: Enable ESB when Operation complete
109
110 Others are not used.
111 """
112 return int(self.query('*ESE?'))
113
114 @event_status_enabled.setter
115 def event_status_enabled(self, value):

Callers

nothing calls this directly

Calls 1

queryMethod · 0.45

Tested by

no test coverage detected