ADM00310 Microchip Technology, ADM00310 Datasheet - Page 11

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
To help the user develop a custom configurator,
Microchip provides a DLL that uses Microsoft
Framework 3.5. There is documentation about drivers
and utilities on the MCP2200 product page at
www.microchip.com
information on associating the DLL with a Visual C++
project.
TABLE 2-2:
 2011 Microchip Technology Inc.
Category and Function Name
Initialization
void InitMCP2200(VID, PID)
Configuration
bool ConfigureIO(mask)
bool ConfigureIoDefaultOutput(mask, defaultGpioOutputValue)
bool fnRxLED (OFF/TOGGLE/BLINKSLOW/BLINKFAST)
bool fnTxLED (OFF/TOGGLE/BLINKSLOW/BLINKFAST)
bool fnHardwareFlowControl (ON/OFF)
bool fnULoad(ON/OFF)
bool fnSuspend (ON/OFF)
bool ConfigureMCP2200(mask, baudrate, RxLedMode, TxLedMode, flowCtrl, ULoad, suspend)
bool ConfigureIO(mask)
Miscellaneous
String^ GetDeviceInfo(deviceIndex)
unsigned int GetNoOfDevices()
int GetSelectedDevice()
String^ GetSelectedDeviceInfo()
bool IsConnected()
int SelectDevice(uiDeviceNo)
int ReadEEPROM(uiEEPAddress)
int WriteEEPROM(uiEEPAddress, ucValue)
I/O Control
bool ClearPin(pinnumber)
bool SetPin(pinnumber)
bool ReadPin(pinnumber, *pinvalue)
int ReadPinValue(pinnumber)
bool ReadPort(*portValue)
int ReadPortValue()
bool WritePort(portValue)
Summary
bool SimpleIOClass::ClearPin(unsigned int pin)
bool SimpleIOClass::ConfigureIO (unsigned char IOMap)
bool SimpleIOClass::ConfigureIoDefaultOutput(unsigned char ucIoMap, unsigned char ucDefValue
)
bool SimpleIOClass::ConfigureMCP2200 (unsigned char IOMap, unsigned long BaudRateParam, unsigned
int RxLEDMode, unsigned int TxLEDMode, bool FLOW, bool ULOAD,bool SSPND)
bool SimpleIOClass::fnHardwareFlowControl (unsigned int onOff)
Note 1:
2:
Simple Configuration and I/O DLL
Prior to any DLL API usage, a call to the
initialization function in the presented DLL.
The configuration only needs to be set a single time – it is stored in NVM.
(Note
(Note
CONFIGURATION FUNCTIONS
1)
(in the Software section) with
2)
®
.NET
InitMCP2200()
2.3.1
Table 2-2
allow the configuration of the device and control of the
I/O.
function is needed. This function is the only
lists the functions provided by the DLL to
SIMPLE I/O DLL CALLS
MCP2200
DS22228B-page 11
Section 2.3.1.1
Section 2.3.1.2
Section 2.3.1.3
Section 2.3.1.4
Section 2.3.1.5

Related parts for ADM00310