欢迎访问ic37.com |
会员登录 免费注册
发布采购

MCP2200-ISS 参数 Datasheet PDF下载

MCP2200-ISS图片预览
型号: MCP2200-ISS
PDF下载: 下载PDF文件 查看货源
内容描述: USB 2.0 UART协议转换器,具有GPIO [USB 2.0 to UART Protocol Converter with GPIO]
分类和应用: 转换器
文件页数/大小: 44 页 / 503 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号MCP2200-ISS的Datasheet PDF文件第7页浏览型号MCP2200-ISS的Datasheet PDF文件第8页浏览型号MCP2200-ISS的Datasheet PDF文件第9页浏览型号MCP2200-ISS的Datasheet PDF文件第10页浏览型号MCP2200-ISS的Datasheet PDF文件第12页浏览型号MCP2200-ISS的Datasheet PDF文件第13页浏览型号MCP2200-ISS的Datasheet PDF文件第14页浏览型号MCP2200-ISS的Datasheet PDF文件第15页  
MCP2200  
2.3.1  
SIMPLE I/O DLL CALLS  
2.3  
Simple Configuration and I/O DLL  
Table 2-2 lists the functions provided by the DLL to  
allow the configuration of the device and control of the  
I/O.  
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.  
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)  
Section 2.3.1.1  
Section 2.3.1.2  
bool SimpleIOClass::ConfigureIO (unsigned char IOMap)  
bool SimpleIOClass::ConfigureIoDefaultOutput(unsigned char ucIoMap, unsigned char ucDefValue  
)
Section 2.3.1.3  
bool SimpleIOClass::ConfigureMCP2200 (unsigned char IOMap, unsigned long BaudRateParam, unsigned  
int RxLEDMode, unsigned int TxLEDMode, bool FLOW, bool ULOAD,bool SSPND)  
Section 2.3.1.4  
bool SimpleIOClass::fnHardwareFlowControl (unsigned int onOff)  
Section 2.3.1.5  
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.  
2011 Microchip Technology Inc.  
DS22228B-page 11  
 复制成功!