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

MCP2200-I/SS 参数 Datasheet PDF下载

MCP2200-I/SS图片预览
型号: MCP2200-I/SS
PDF下载: 下载PDF文件 查看货源
内容描述: USB 2.0 UART协议转换器,具有GPIO [USB 2.0 to UART Protocol Converter with GPIO]
分类和应用: 转换器网络接口电信集成电路电信电路光电二极管
文件页数/大小: 34 页 / 494 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号MCP2200-I/SS的Datasheet PDF文件第6页浏览型号MCP2200-I/SS的Datasheet PDF文件第7页浏览型号MCP2200-I/SS的Datasheet PDF文件第8页浏览型号MCP2200-I/SS的Datasheet PDF文件第9页浏览型号MCP2200-I/SS的Datasheet PDF文件第11页浏览型号MCP2200-I/SS的Datasheet PDF文件第12页浏览型号MCP2200-I/SS的Datasheet PDF文件第13页浏览型号MCP2200-I/SS的Datasheet PDF文件第14页  
MCP2200  
While ConfigureMCP2200 configures the device  
with one call, it may also be configured one  
parameter at a time:  
bool SimpleIOClass::fnRxLED (unsigned int  
mode)  
2.3  
Simple Configuration and I/O DLL  
A DLL is provided by Microchip to help the user  
develop a custom configurator. See the documentation  
on the MCP2200 product page for details on  
associating the DLL with a Visual C++ project.  
bool SimpleIOClass::fnTxLED (unsigned int  
mode)  
bool SimpleIOClass::fnHardwareFlowControl  
(unsigned int onOff)  
bool SimpleIOClass::fnUSBCFG (unsigned int  
onOff)  
2.3.1  
SIMPLE I/O DLL CALLS  
The DLL provides the following functions to allow  
configuration of the device and control of the I/O.  
bool SimpleIOClass::fnSuspend (unsigned int  
onOff)  
bool SimpleIOClass::fnSetBaudRate (unsigned  
long BaudRateParam)  
bool SimpleIOClass::ConfigureIO (unsigned  
char IOMap)  
2.3.1.1  
Initialization  
void InitMCP2200(VID, PID)  
bool IsConnected()  
2.3.1.2  
Configuration (only needs to be set  
once; stored in NVM)  
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;  
bool ConfigureIOPins(mask)  
bool fnRxLED (On/Off, Toggle/Blink, 100/  
200mS)  
bool fnTxLED (On/Off, Toggle/Blink, 100/  
200mS)  
bool fnHardwareFlowControl (On/Off)  
bool fnUSBcfg(on/off)  
2.3.1.5  
InitMCP2200  
bool fnSuspend (on/off)  
SimpleIOClass::InitMCP2200 (unsigned int  
VendorID, unsigned int ProductID)  
bool SetBaudRate (baudrate)  
bool ConfigureAll (TRISmask, RxLED, TxLED,  
RxTGL, TxTGL, LEDX, FLOW, USBCFG, SSPND,  
BaudRate)  
Configures the Simple IO class for a specific  
Vendor and product ID.  
2.3.1.3  
I/O Control  
Parameters:  
Vendor ID - Assigned by USB IF (www.usb.org)  
Product ID - Assigned by the Vendor ID  
Holder  
bool ClearPin(pinnumber)  
bool ReadPin(pinnumber)  
bool SetPort (portValue)  
bool ReadPort(*portValue)  
bool WriteEEPROM (Address, Data)  
bool ReadEEPROM (Address)  
Returns:  
none  
Example:  
InitMCP2200 (0x04D8, 0x00DF);  
2.3.1.4  
Summary  
Summary:  
SimpleIOClass::InitMCP2200 (unsigned int  
VendorID, unsigned int ProductID)  
bool SimpleIOClass::ConfigureMCP2200  
(unsigned char IOMap,  
unsigned long BaudRate,  
unsigned int RxLED,  
2.3.1.6  
ConfigureMCP2200  
bool SimpleIOClass::ConfigureMCP2200  
(unsigned char IOMap,  
unsigned long BaudRate,  
unsigned int RxLED,  
unsigned int TxLED,  
unsigned int TxLED,  
bool  
bool  
bool  
Hardware Flow Control,  
USBCFG pin function,  
Suspend pin function)  
bool  
bool  
bool  
Hardware Flow Control,  
USBCFG pin function,  
Suspend pin function)  
bool SimpleIOClass::SetPin(unsigned int pin)  
bool SimpleIOClass::ClearPin(unsigned int  
pin)  
bool SimpleIOClass::ReadPin(unsigned int pin,  
unsigned int *returnvalue)  
Configures the device's default baudrate,  
GPIO configuration and pin functions. Other  
functions set each parameter one at a time.  
This configures the part in one call.  
bool SimpleIOClass::WritePort(unsigned int  
value)  
bool SimpleIOClass::ReadPort(unsigned int  
*returnvalue)  
Precondition:  
The Vendor and Product ID must have been  
specified by SimpleIOInit.  
DS22228A-page 10  
2010 Microchip Technology Inc.