欢迎访问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文件第8页浏览型号MCP2200-ISS的Datasheet PDF文件第9页浏览型号MCP2200-ISS的Datasheet PDF文件第10页浏览型号MCP2200-ISS的Datasheet PDF文件第11页浏览型号MCP2200-ISS的Datasheet PDF文件第13页浏览型号MCP2200-ISS的Datasheet PDF文件第14页浏览型号MCP2200-ISS的Datasheet PDF文件第15页浏览型号MCP2200-ISS的Datasheet PDF文件第16页  
MCP2200  
TABLE 2-2:  
CONFIGURATION FUNCTIONS (CONTINUED)  
Category and Function Name  
Summary (Continued)  
bool SimpleIOClass::fnRxLED (unsigned int mode)  
bool SimpleIOClass::fnSetBaudRate (unsigned long BaudRateParam)  
bool SimpleIOClass::fnSuspend(unsigned int onOff)  
bool SimpleIOClass::fnTxLED (unsigned int mode)  
bool SimpleIOClass::fnULoad(unsigned int onOff)  
String^ SimpleIOClass::GetDeviceInfo(unsigned int uiDeviceNo)  
unsigned int SimpleIOClass::GetNoOfDevices(void)  
int SimpleIOClass::GetSelectedDevice(void)  
String^ SimpleIOClass::GetSelectedDeviceInfo(void)  
void SimpleIOClass::InitMCP2200 (unsigned int VendorID, unsigned int ProductID)  
bool SimpleIOClass::IsConnected()  
Section 2.3.1.6  
Section 2.3.1.7  
Section 2.3.1.8  
Section 2.3.1.9  
Section 2.3.1.10  
Section 2.3.1.11  
Section 2.3.1.12  
Section 2.3.1.13  
Section 2.3.1.14  
Section 2.3.1.15  
Section 2.3.1.16  
Section 2.3.1.17  
Section 2.3.1.18  
Section 2.3.1.19  
Section 2.3.1.20  
Section 2.3.1.21  
Section 2.3.1.22  
Section 2.3.1.23  
Section 2.3.1.24  
Section 2.3.1.25  
int SimpleIOClass::ReadEEPROM(unsigned int uiEEPAddress)  
bool SimpleIOClass::ReadPin(unsigned int pin, unsigned int *returnvalue)  
int SimpleIOClass::ReadPinValue(unsigned int pin)  
bool SimpleIOClass::ReadPort(unsigned int *returnvalue)  
int SimpleIOClass::ReadPortValue()  
int SimpleIOClass::SelectDevice(unsigned int uiDeviceNo)  
bool SimpleIOClass::SetPin(unsigned int pin)  
int SimpleIOClass::WriteEEPROM(unsigned int uiEEPAddress, unsigned char ucValue)  
bool SimpleIOClass::WritePort(unsigned int portValue)  
Constants  
const unsigned int OFF = 0;  
const unsigned int ON = 1;  
const unsigned int TOGGLE = 3;  
const unsigned int BLINKSLOW = 4;  
const unsigned int BLINKFAST = 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.  
2.3.1.1  
ClearPin  
Function:  
bool SimpleIOClass::ClearPin (unsigned int pin)  
Summary:  
Clears the specified pin.  
Description:  
Clears the specified pin to logic ‘0’.  
Precondition: This pin must be previously configured as an output via a ConfigureIOor  
ConfigureIoDefaultOutputcall.  
Parameters:  
Returns:  
pin- The pin number to set (0-7).  
This function returns True if the transmission is successful and returns False if the transmission fails.  
None  
Remarks:  
EXAMPLE 2-1:  
if (SimpleIOClass::ClearPin (2))  
{
lblStatusBar->Text = “Success”;  
}
else  
lblStatusBar->Text = “Invalid command ” + SimpleIOClass::LastError;  
DS22228B-page 12  
2011 Microchip Technology Inc.  
 复制成功!