def readU16(self, register, little_endian=True):
result = self._bus.read_word_data(self._address,register) & <NUM_LIT><EOL>self._logger.debug("<STR_LIT>",<EOL>result, register, register+<NUM_LIT:1>)<EOL>if not little_endian:<EOL><INDENT>result = ((result << <NUM_LIT:8>) & <NUM_LIT>) + (result >> <NUM_LIT:8>)<EOL><DEDENT>return result<EOL>
Read an unsigned 16-bit value from the specified register, with the
        specified endianness (default little endian, or least significant byte
        first).