ADM00310 Microchip Technology, ADM00310 Datasheet - Page 14

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
2.3.1.4
Function:
bool SimpleIOClass::ConfigureIoDefaultOutput (unsigned long BaudRateParam, unsigned int RxLEDMode,
unsigned int TxLEDMode, bool FLOW, bool ULOAD, bool SSPND)
EXAMPLE 2-4:
2.3.1.5
Function:
bool SimpleIOClass::fnHardwareFlowControl (unsigned int onOff)
EXAMPLE 2-5:
DS22228B-page 14
Summary:
Description:
Precondition:
Parameters:
1.
2.
3.
4.
5.
6.
7.
Returns:
Remarks:
Summary:
Description:
Precondition:
Parameters:
Returns:
Remarks:
== SUCCESS)
if (SimpleIOClass::fnHardwareFlowControl(1) == SUCCESS)
IOMap
for output.
BaudRateParam
RxLEDMode
behavior of the Rx LED.
TxLEDMode
behavior of the Tx LED.
FLOW
flow control).
ULOAD
SSPND
if (SimpleIOClass::ConfigureMCP2200(0x43, 9600, BLINKSLOW, BLINKFAST, false, false, false)
else
else
OFF
ON
TOGGLE
BLINKSLOW
BLINKFAST
lblStatusBar->Text = “Success”;
lblStatusBar->Text = “Invalid command ”
lblStatusBar->Text = “Success”;
lblStatusBar->Text = “Invalid command ” + SimpleIOClass::LastError;
- this parameter establishes the default flow control method (False - no HW flow control, True - RTS/CTS
= 1
- A byte which represents the input/output state of the pins (each bit may be either a ‘
- this parameter establishes when USB has loaded the configuration.
- this parameter establishes when USB send us the Suspend mode.
= 0
ConfigureMCP2200
fnHardwareFlowControl
= 3
Configures the device.
Sets the default GPIO designation, baud rate, TX/RX LED modes, flow control.
VID and PID must be previously set via a call to
This function returns True if the transmission is successful and returns False if the transmission fails.
None.
- can take one of the defined values (
Configures the flow control of the MCP2200. The flow control configuration will be stored in NVRAM.
Sets the flow control to HW flow control (RTS/CTS) or No flow control.
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
- can take one of the constant values (
1
0
= 4
= 5
’ if HW flow control is required
’ if no flow control is required
- the default communication baud rate.
:
LastError
.
OFF
,
ON
OFF
,
TOGGLE
,
ON
InitMCP2200(VID, PID)
InitMCP2200(VID, PID)
,
TOGGLE
,
BLINKSLOW
,
BLINKSLOW
,
BLINKFAST
,
 2011 Microchip Technology Inc.
BLINKFAST
.
.
) in order to define the
1
’ for input, and ‘
) to define the
0

Related parts for ADM00310