A Sandcastle Documented Class Library
usb_interface Class
Namespaces > PICUSB > usb_interface
Generic interface to a USB PIC using normal VID/PID
Syntax
C#Visual BasicManaged C++
public class usb_interface
Public Class usb_interface
public ref class usb_interface
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
usb_interfaceNew()
Constructor
ClosePipes()
Closes all open pipes. Should be called if a different instance of the class needs access
DLLVersion
Version number of mpusbapi.dll
EasyCommand(Byte, Int32, Byte[](), Byte[]())
Simple method for sending/receiving USB data from the PIC.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetDeviceCount(String)
Scans the USB bus for connected devices with matching VID/PID
GetHashCode()
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
in_pipe
IN endpoint on PIC (synchronous)
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
myInPipe
IN endpoint pipe (synchronous)
myOutPipe
OUT endpoint pipe
OpenPipes()
Opens USB pipes to the PIC using the normal VID/PID
out_pipe
OUT endpoint on PIC
PipesOpen
Represents whether pipes have been opened
prvPipesOpen
Represents whether pipes have been opened
SendReceivePacket(Byte[](), UInt32, Byte[](), UInt32)
Writes one packet to PIC, receives response packet.
ToString()
Returns a String that represents the current Object.
(Inherited from Object.)
vid_pid_boot
VID/PID for PIC running Microchip default USB bootloader firmware
vid_pid_norm
VID/PID for PIC running generic firmware
Inheritance Hierarchy
Object
usb_interface

Assembly: PICUSB Version: 1.0.2970.38156 (Module: PICUSB)