<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def convert(self):
 """Initiate one-shot conversion. The current settings are used, with the exception of continuous mode."""

        c = self.config
        c &= (~MCP342x._continuous_mode_mask & 0x7f)  # Force one-shot
        c |= MCP342x._not_ready_mask                  # Convert
        logger.debug('Convert ' + hex(self.address) + ' config: ' + bin(c))
        self.bus.write_byte(self.address, c)