@contextmanager
    def _signal_wrap(self, signal_name):
        before_signal = getattr(signal, 'BEFORE_' + signal_name)
        success_signal = getattr(signal, 'SUCCESSFUL_' + signal_name)
        after_signal = getattr(signal, 'AFTER_' + signal_name)
        try:
            self._send(before_signal)
            yield
            self._send(success_signal)
        finally:
            self._send(after_signal)
Write an 8-bit value to the specified register.
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/core/execution.py/Runner._signal_wrap--crossover with--dataset/ETHPy150Open adafruit/Adafruit_Python_GPIO/Adafruit_GPIO/I2C.py/Device.write8