Method: Ftdi::Context#interface

Defined in:
lib/ftdi.rb

#interfaceInterface

Gets used interface of the device.

Returns:

  • (Interface)

    Used interface of the device.



369
370
371
# File 'lib/ftdi.rb', line 369

def interface
  Interface[self[:interface]]
end