参数资料
型号: ADM00310
厂商: Microchip Technology
文件页数: 3/44页
文件大小: 0K
描述: BOARD EVAL FOR MCP3903 AFE
产品培训模块: MCP3903 6-Channel Energy Measurement Analog Front End
设计资源: MCP3903 Eval Brd BOM
MCP3903 Eval Brd Schematic
标准包装: 1
主要目的: 接口,模拟前端(AFE)
嵌入式: 是,MCU,16 位
已用 IC / 零件: MCP3903,PIC24F,PIC24H,dsPIC33,MCP2200
已供物品: 板,2 个模块,线缆,CD,电源
2011 Microchip Technology Inc.
DS22228B-page 11
MCP2200
2.3
Simple Configuration and I/O DLL
To help the user develop a custom configurator,
Microchip provides a DLL that uses Microsoft.NET
Framework 3.5. There is documentation about drivers
and utilities on the MCP2200 product page at
www.microchip.com (in the Software section) with
information on associating the DLL with a Visual C++
project.
2.3.1
SIMPLE I/O DLL CALLS
Table 2-2 lists the functions provided by the DLL to
allow the configuration of the device and control of the
I/O.
TABLE 2-2:
CONFIGURATION FUNCTIONS
Category and Function Name
Initialization (Note 1)
void InitMCP2200(VID, PID)
Configuration (Note 2)
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:
Prior to any DLL API usage, a call to the InitMCP2200() function is needed. This function is the only
initialization function in the presented DLL.
2:
The configuration only needs to be set a single time – it is stored in NVM.
相关PDF资料
PDF描述
ELC-18B182L COIL CHOKE 1800UH RADIAL
GBM36DRTH CONN EDGECARD 72POS DIP .156 SLD
RCM12DRYF CONN EDGECARD 24POS DIP .156 SLD
RBM12DRTF-S13 CONN EDGECARD 24POS .156 EXTEND
M1BXA-4036J IDC CABLE - MSR40A/MC40G/X
相关代理商/技术参数
参数描述
ADM00313 功能描述:电源管理IC开发工具 73830L Li-Ion Battry Charger Eval Brd RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
ADM00317 功能描述:数据转换 IC 开发工具 MCP47X6 PICtail Plus Daughter Board RoHS:否 制造商:Texas Instruments 产品:Demonstration Kits 类型:ADC 工具用于评估:ADS130E08 接口类型:SPI 工作电源电压:- 6 V to + 6 V
ADM00333 功能描述:开发板和工具包 - PIC / DSPIC PIC18F87J72 Evaluation Board RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
ADM00344 功能描述:电源管理IC开发工具 RE46C190 Demo Board RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
ADM00345 功能描述:电源管理IC开发工具 3-Phase BLDC Snsrlss Fan Cntrllr RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V