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

MCP2200T-I/SO 参数 Datasheet PDF下载

MCP2200T-I/SO图片预览
型号: MCP2200T-I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: USB 2.0 UART协议转换器,具有GPIO [USB 2.0 to UART Protocol Converter with GPIO]
分类和应用: 转换器
文件页数/大小: 34 页 / 494 K
品牌: MICROCHIP [ MICROCHIP TECHNOLOGY ]
 浏览型号MCP2200T-I/SO的Datasheet PDF文件第8页浏览型号MCP2200T-I/SO的Datasheet PDF文件第9页浏览型号MCP2200T-I/SO的Datasheet PDF文件第10页浏览型号MCP2200T-I/SO的Datasheet PDF文件第11页浏览型号MCP2200T-I/SO的Datasheet PDF文件第13页浏览型号MCP2200T-I/SO的Datasheet PDF文件第14页浏览型号MCP2200T-I/SO的Datasheet PDF文件第15页浏览型号MCP2200T-I/SO的Datasheet PDF文件第16页  
MCP2200
Example:
<code>
if
(SimpleIOClass::ConfigureMCP2200(OutputPacket
Buffer) == SUCCESS)
lblStatusBar->Text = "Success";
else
lblStatusBar->Text = "Invalid command
" + SimpleIOClass::LastError;
</code>
Example:
<code>
if
(SimpleIOClass::ConfigureMCP2200(OutputPacket
Buffer) == SUCCESS)
lblStatusBar->Text = "Success";
else
lblStatusBar->Text = "Invalid command
" + SimpleIOClass::LastError;
</code>
Remarks:
Error code is returned in LastError
2.3.1.10
fnUSBCFG
bool SimpleIOClass::fnUSBCFG (unsigned int
onOff)
Summary:
Configures the USBCFG pin function.
Precondition:
The Vendor and Product ID must have been
specified by SimpleIOInit.
Parameters:
onOff (constant): ON or OFF.
Returns:
Function returns true if the transmission is
successful, returns False if there the
transmission fails.
Example:
<code>
if
(SimpleIOClass::ConfigureMCP2200(OutputPacket
Buffer) == SUCCESS)
lblStatusBar->Text = "Success";
else
lblStatusBar->Text = "Invalid command
" + SimpleIOClass::LastError;
</code>
Remarks:
Error code is returned in LastError
2.3.1.12
fnSetBaudRate
bool SimpleIOClass::fnSetBaudRate (unsigned
long BaudRateParam)
Summary:
Configures the device.
Precondition:
The Vendor and Product ID must have been
specified by SimpleIOInit.
Parameters:
IOMap - An array of configuration
parameters, one byte per IO Line
Returns:
Function returns true if the transmission is
successful, returns False if there the
transmission fails.
Example:
<code>
if
(SimpleIOClass::ConfigureMCP2200(OutputPacket
Buffer) == SUCCESS)
lblStatusBar->Text = "Success";
else
lblStatusBar->Text = "Invalid command
" + SimpleIOClass::LastError;
</code>
Remarks:
Error code is returned in LastError
2.3.1.11
fnSuspend
bool SimpleIOClass::fnSuspend (unsigned int
onOff)
Summary:
Configures the SSPND function
Precondition:
The Vendor and Product ID must have been
specified by SimpleIOInit.
Parameters:
onOff (constant): ON or OFF.
Returns:
Function returns true if the transmission is
successful, returns False if there the
transmission fails.
2.3.1.13
ConfigureIO
bool SimpleIOClass::ConfigureIO (unsigned
char IOMap)
Summary:
Configures the IO pins for Digital Input,
Digital Output
Description:
IO Pins can be configured as Digital Input,
Digital Output
DS22228A-page 12
2010 Microchip Technology Inc.