示例#1
0
文件: mpsse.py 项目: hudkmr/libmpsse
    def Close(self):
        """
		Closes the device, deinitializes libftdi, and frees the libmpsse context.
		"""
        retval = _mpsse.Close(self.context)
        self.context = None
        return retval
示例#2
0
	def Close(self):
		"""
		Closes the FTDI device connection, deinitializes libftdi, and frees the libmpsse context.

		Returns None.
		"""
		retval = _mpsse.Close(self.context)
		self.context = None