ADM00310 Microchip Technology, ADM00310 Datasheet - Page 15

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
2.3.1.6
Function:
bool SimpleIOClass::fnRxLED (unsigned int mode)
EXAMPLE 2-6:
2.3.1.7
Function:
bool SimpleIOClass::fnSetBaudRate (unsigned long BaudRateParam)
EXAMPLE 2-7:
2.3.1.8
Function:
bool SimpleIOClass::fnSuspend (unsigned int onOff)
 2011 Microchip Technology Inc.
Summary:
Description:
Precondition:
Parameters:
Returns:
Remarks:
Summary:
Description:
Precondition:
Parameters:
Returns:
Remarks:
Summary:
Description:
Precondition:
Parameters:
Returns:
Remarks:
if (SimpleIOClass::fnRxLED (BLINKFAST) == SUCCESS)
else
if (SimpleIOClass::fnSetBaudRate(9600) == SUCCESS)
else
lblStatusBar->Text = “Success”;
lblStatusBar->Text = “Invalid command ” + SimpleIOClass::LastError;
lblStatusBar->Text = “Success”;
lblStatusBar->Text = “Invalid command ” + SimpleIOClass::LastError;
fnRxLED
fnSetBaudRate
fnSuspend
Configures the device’s default baud rate. The baud rate value will be stored in NVRAM
Sets the desired baud rate and it will store it into device’s NVRAM.
VID and PID must be previously set via a call to
BaudRateParam
Error code is returned in
value. When used with a terminal program, there is no need to call this function to change the baud
rate. Changing the baud rate from the terminal program, will send the appropriate CDC packet that
will change the communication’s baud rate without the need to call this function.
Configures the GP0 pin of the MCP2200 to show the status of Suspend/Resume USB states.
When the GP0 is designated to show the USB Suspend/Resume states, the pin will go low when the
Suspend state is issued, or will go high when the Resume state is on.
VID and PID must be previously set via a call to
onOff
This function returns True if the transmission is successful and returns False if the transmission fails.
Error code is returned in
Configures the Rx LED mode. Rx LED configuration will be stored in NVRAM.
Sets the Rx LED mode to one of the possible values.
VID and PID must be previously set via a call to
mode (constant)
Error code is returned in
This function returns True if the transmission is successful and returns False if the transmission fails.
This function returns True if the transmission is successful and returns False if the transmission fails.
‘1’
‘0’
GP0 will reflect the USB Suspend/Resume states
GP0 will not reflect the USB Suspend/Resume states (can be used as GPIO)
:
- the desired baud rate value
:
OFF
,
TOGGLE
LastError
LastError
LastError
,
BLINKSLOW
.
. This function is used only to set the default power-up baud rate
.
,
BLINKFAST
InitMCP2200(VID, PID)
InitMCP2200(VID, PID)
InitMCP2200(VID, PID)
.
.
.
MCP2200
DS22228B-page 15

Related parts for ADM00310