docs: def value(self, value):
          """ Value to be written on register.
  
          :param value: An integer.
          :raises: IllegalDataValueError when value isn't in range.
          """
          try:
              struct.pack('>' + conf.TYPE_CHAR, value)
          except struct.error:
              raise IllegalDataValueError
  
          self._value = value