Electronic Components Datasheet Search
  English  ▼

X  

MCP2200 Datasheet(PDF) 17 Page - Microchip Technology

Part # MCP2200
Description  USB 2.0 to UART Protocol Converter with GPIO
PDF  44 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP2200 Datasheet(HTML) 17 Page - Microchip Technology

Back Button MCP2200_13 Datasheet HTML 13Page - Microchip Technology MCP2200_13 Datasheet HTML 14Page - Microchip Technology MCP2200_13 Datasheet HTML 15Page - Microchip Technology MCP2200_13 Datasheet HTML 16Page - Microchip Technology MCP2200_13 Datasheet HTML 17Page - Microchip Technology MCP2200_13 Datasheet HTML 18Page - Microchip Technology MCP2200_13 Datasheet HTML 19Page - Microchip Technology MCP2200_13 Datasheet HTML 20Page - Microchip Technology MCP2200_13 Datasheet HTML 21Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 44 page
background image
 2011 Microchip Technology Inc.
DS22228B-page 17
MCP2200
2.3.1.11
GetDeviceInfo
Function:
String^ SimpleIOClass::GetDeviceInfo (unsigned int uiDeviceNo)
EXAMPLE 2-11:
2.3.1.12
GetNoOfDevices
Function:
unsigned int SimpleIOClass::GetNoOfDevices(void)
EXAMPLE 2-12:
2.3.1.13
GetSelectedDevice
Function:
int SimpleIOClass::GetSelectedDevice(void)
Summary:
Returns the path name for one of the connected devices.
Description:
The function will return the path name for the given device ID.
Precondition:
At least one call to the InitMCP2200() is required in order to initiate a DLL search for the compatible
devices.
VID and PID must be previously set via a call to InitMCP2200(VID, PID).
Parameters:
uiDeviceNo:
The device ID for which the path information is needed. Can have a value between 0
and the number of devices minus 1.
Returns:
This function returns a string containing the path name of the given device id.
• In the case the given ID is out of range, the function will return the “Device Index Error” string.
• In the case the device for which the path name is required is not connected anymore, the return
string will be “Device Not Connected”.
Remarks:
None.
Summary:
The function returns the number of available devices present in the system.
Description:
The function returns the number of HID devices (with the given VID/PID) connected to the system.
Precondition:
At least one call to the InitMCP2200() is required in order to initiate a DLL search for the compatible
devices. Also, in order to know the actual number of devices connected to the system, call the
SimpleIOClass::IsConnected()
function. VID and PID must be previously set via a call to
InitMCP2200(VID, PID)
.
Parameters:
None.
Returns:
This function returns the number of HID devices with the given VID/PID (as parameters of
SimpleIOClass::InitMCP2200()
function).
Remarks:
Call the SimpleIOClass::IsConnected() prior to the call of this function in order to have the most
recent number of devices that are present in the system.
Summary:
Returns the ID of the selected device
Description:
The function returns the ID of the current selected device.
Precondition:
At least one call to the InitMCP2200() is required in order to initiate a DLL search for the compatible
devices. VID and PID must be previously set via a call to InitMCP2200(VID, PID).
Parameters:
None.
Returns:
This function returns the ID of the current selected device. Its value can range from 0 to the number of
devices minus 1.
Remarks:
None.
lblStatusBar->Text = SimpleIOClass::GetDeviceInfo(0);
SimpleIOClass::IsConnected(); //call this function to refresh the number of
//the devices present in the system
lblStatusBar->Text = SimpleIOClass::GetNoOfDevices();



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com