| Electronic Components Datasheet Search |
|
MCP2200T-I/SS Datasheet(PDF) 18 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP2200T-I/SS Datasheet(HTML) 18 Page - Microchip Technology |
|
18 / 44 page ![]() MCP2200 DS20002228C-page 18 2011-2015 Microchip Technology Inc. EXAMPLE 2-13: 2.3.1.14 GetSelectedDeviceInfo Function: String^ SimpleIOClass::GetSelectedDeviceInfo(void) EXAMPLE 2-14: 2.3.1.15 InitMCP2200 Function: void SimpleIOClass::InitMCP2200 (unsigned int VendorID, unsigned int ProductID) EXAMPLE 2-15: 2.3.1.16 IsConnected Function: bool SimpleIOClass::IsConnected() Summary: Returns the selected device path name. Description: The function returns a string containing the unique path name of the 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 a string containing the unique path name of the selected device. Remarks: The default selected device is the first one that the DLL finds. If the user wants to retrieve other devices path names (assuming more than one device is present in the system), a call to SimpleIOClass::SelectDevice(deviceNo) is required. Summary: Configures the Simple IO class for a specific Vendor and product ID. Description: Sets the Vendor and Product ID used for the project. Precondition: None. Parameters: 1. Vendor ID - assigned by USB IF (www.usb.org) 2. Product ID - assigned by the Vendor ID Holder Returns: None. Remarks: Call this function before any other calls, to set the Vendor and Product IDs. Summary: Checks with the OS if the current VID/PID device is connected. Description: Checks if a MCP2200 device is connected to the computer. If so, it returns True, otherwise the result will be False. Precondition: VID and PID must be previously set via a call to InitMCP2200(VID, PID). Parameters: None. Returns: True - if at least one device is connected to the host. False - if there are no devices connected to the host. Remarks: No actual communication with the end device is occurring. The function inquires the OS if the specified VID/PID was enumerated. lblStatusBar->Text = SimpleIOClass::GetSelectedDevice(); lblStatusBar->Text = SimpleIOClass::GetSelectedDeviceInfo(void) InitMCP2200 (0x4D8, 0x00DF); |
|
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 |
| 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 |