ADM00310 Microchip Technology, ADM00310 Datasheet - Page 18

no-image

ADM00310

Manufacturer Part Number
ADM00310
Description
BOARD EVAL FOR MCP3903 AFE
Manufacturer
Microchip Technology
Series
-r
Datasheets

Specifications of ADM00310

Design Resources
MCP3903 Eval Brd BOM MCP3903 Eval Brd Schematic
Main Purpose
Interface, Analog Front End (AFE)
Embedded
Yes, MCU, 16-Bit
Utilized Ic / Part
MCP3903, PIC24F, PIC24H, dsPIC33, MCP2200
Primary Attributes
-
Secondary Attributes
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MCP2200
EXAMPLE 2-13:
2.3.1.14
Function:
String^ SimpleIOClass::GetSelectedDeviceInfo(void)
EXAMPLE 2-14:
2.3.1.15
Function:
void SimpleIOClass::InitMCP2200 (unsigned int VendorID, unsigned int ProductID)
EXAMPLE 2-15:
2.3.1.16
Function:
bool SimpleIOClass::IsConnected()
DS22228B-page 18
Summary:
Description:
Precondition:
Parameters:
Returns:
Remarks:
Summary:
Description:
Precondition:
Parameters:
Returns:
Remarks:
Summary:
Description:
Precondition:
Parameters:
Returns:
Remarks:
lblStatusBar->Text = SimpleIOClass::GetSelectedDevice();
InitMCP2200 (0x4D8, 0x00DF);
lblStatusBar->Text = SimpleIOClass::GetSelectedDeviceInfo(void)
GetSelectedDeviceInfo
InitMCP2200
IsConnected
Returns the selected device path name.
The function returns a string containing the unique path name of the selected device.
At least one call to the
devices. VID and PID must be previously set via a call to
None.
This function returns a string containing the unique path name of the selected device.
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)
Configures the Simple IO class for a specific Vendor and product ID.
Sets the Vendor and Product ID used for the project.
None.
1.
2.
None.
Call this function before any other calls, to set the Vendor and Product IDs.
Checks with the OS if the current VID/PID device is connected.
Checks if a MCP2200 is connected to the computer. If so, it returns True, otherwise the result will be
False.
VID and PID must be previously set via a call to
None.
True - if at least one device is connected to the host.
False - if there are no devices connected to the host.
No actual communication with the end device is occurring. The function inquires the OS if the
specified VID/PID was enumerated.
Vendor ID
Product ID
- assigned by USB IF (www.usb.org)
- assigned by the Vendor ID Holder
InitMCP2200()
is required in order to initiate a DLL search for the compatible
is required.
InitMCP2200(VID, PID)
InitMCP2200(VID, PID)
 2011 Microchip Technology Inc.
.
.

Related parts for ADM00310