ADM00310 Microchip Technology, ADM00310 Datasheet - Page 16

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-8:
2.3.1.9
Function:
bool SimpleIOClass::fnTxLED (unsigned int mode)
EXAMPLE 2-9:
2.3.1.10
Function:
bool SimpleIOClass::fnULoad (unsigned int onOff)
EXAMPLE 2-10:
DS22228B-page 16
Summary:
Description:
Precondition:
Parameters:
Returns:
Remarks:
Summary:
Description:
Precondition:
Parameters:
Returns:
Remarks:
if (SimpleIOClass::fnSuspend(1) == SUCCESS)
if (SimpleIOClass::fnTxLED (BLINKSLOW) == SUCCESS)
else
else
if (SimpleIOClass::fnULoad(1) == SUCCESS)
else
lblStatusBar->Text = “Success”;
lblStatusBar->Text = “Invalid command ” + SimpleIOClass::LastError;
lblStatusBar->Text = “Success”;
lblStatusBar->Text = “Invalid command ” + SimpleIOClass::LastError;
lblStatusBar->Text = “Success”;
lblStatusBar->Text = “Invalid command ” + SimpleIOClass::LastError;
fnTxLED
fnULoad
Configures the Tx LED mode. Tx LED configuration will be stored in NVRAM.
Sets the Tx LED mode to one of the possible values.
VID and PID must be previously set via a call to
mode (constant)
This function returns True if the transmission is successful and returns False if the transmission fails.
Error code is returned in
Configures the GP1 pin of the MCP2200 to show the status of the USB configuration.
When the GP1 is designated to show the USB configuration status, the pin will start low (during
power-up or after Reset), and it will go high after the MCP2200 is successfully configured by the
host.
VID and PID must be previously set via a call to
onOff:
• ‘0’ GP1 will not reflect the USB configuration status (can be used as GPIO)
This function returns True if the transmission is successful and returns False if the transmission fails.
Error code is returned in
‘1’
GP1 will reflect the USB configuration status
:
OFF
,
TOGGLE
LastError
LastError
,
BLINKSLOW
.
.
,
BLINKFAST
InitMCP2200(VID, PID)
InitMCP2200(VID, PID)
 2011 Microchip Technology Inc.
.
.

Related parts for ADM00310