@quantity.setter<EOL><INDENT>def quantity(self, value):<DEDENT>
if not (<NUM_LIT:1> <= value <= <NUM_LIT>):<EOL><INDENT>raise IllegalDataValueError('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'.format(<NUM_LIT>))<EOL><DEDENT>self._quantity = value<EOL>
Set number of registers to read. Quantity must be between 1 and
        0x00FD.

        :param value: Quantity.
        :raises: IllegalDataValueError.