参数资料
型号: MCP2200-I/MQ
厂商: Microchip Technology
文件页数: 6/44页
文件大小: 0K
描述: IC USB TO UART 20QFN
特色产品: MCP2200 USB-to-UART Serial Converter
标准包装: 73
特点: USB 至 UART
通道数: 8
FIFO's: 256 字节
规程: USB 2.0
电源电压: 3 V ~ 5.5 V
带自动流量控制功能:
安装类型: 表面贴装
封装/外壳: 20-VQFN 裸露焊盘
供应商设备封装: 20-VQFN
包装: 管件
产品目录页面: 684 (CN2011-ZH PDF)
MCP2200
DS22228B-page 14
2011 Microchip Technology Inc.
2.3.1.4
ConfigureMCP2200
Function:
bool SimpleIOClass::ConfigureIoDefaultOutput (unsigned long BaudRateParam, unsigned int RxLEDMode,
unsigned int TxLEDMode, bool FLOW, bool ULOAD, bool SSPND)
EXAMPLE 2-4:
2.3.1.5
fnHardwareFlowControl
Function:
bool SimpleIOClass::fnHardwareFlowControl (unsigned int onOff)
EXAMPLE 2-5:
Summary:
Configures the device.
Description:
Sets the default GPIO designation, baud rate, TX/RX LED modes, flow control.
Precondition:
VID and PID must be previously set via a call to InitMCP2200(VID, PID).
Parameters:
1.
IOMap
- A byte which represents the input/output state of the pins (each bit may be either a ‘1’ for input, and ‘0
for output.
2.
BaudRateParam
- the default communication baud rate.
3.
RxLEDMode
- can take one of the constant values (OFF, ON, TOGGLE, BLINKSLOW, BLINKFAST) to define the
behavior of the Rx LED.
OFF = 0
ON = 1
TOGGLE = 3
BLINKSLOW = 4
BLINKFAST = 5
4.
TxLEDMode
- can take one of the defined values (OFF, ON, TOGGLE, BLINKSLOW, BLINKFAST) in order to define the
behavior of the Tx LED.
5.
FLOW
- this parameter establishes the default flow control method (False - no HW flow control, True - RTS/CTS
flow control).
6.
ULOAD
- this parameter establishes when USB has loaded the configuration.
7.
SSPND
- this parameter establishes when USB send us the Suspend mode.
Returns:
This function returns True if the transmission is successful and returns False if the transmission fails.
Remarks:
None.
Summary:
Configures the flow control of the MCP2200. The flow control configuration will be stored in NVRAM.
Description:
Sets the flow control to HW flow control (RTS/CTS) or No flow control.
Precondition:
VID and PID must be previously set via a call to InitMCP2200(VID, PID).
Parameters:
onOff
:
1’ if HW flow control is required
0’ if no flow control is required
Returns:
This function returns True if the transmission is successful and returns False if the transmission fails.
Remarks:
Error code is returned in LastError.
if (SimpleIOClass::ConfigureMCP2200(0x43, 9600, BLINKSLOW, BLINKFAST, false, false, false)
== SUCCESS)
lblStatusBar->Text = “Success”;
else
lblStatusBar->Text = “Invalid command ”
if (SimpleIOClass::fnHardwareFlowControl(1) == SUCCESS)
lblStatusBar->Text = “Success”;
else
lblStatusBar->Text = “Invalid command ” + SimpleIOClass::LastError;
相关PDF资料
PDF描述
MCP2200T-I/MQ IC USB 2.0 - UART 20QFN
MCP2210T-I/MQ IC CONVERTER USB-PCI 20-QFN
MCP23008-E/ML IC I/O EXPANDER I2C 8B 20QFN
MCP23016T-I/ML IC I/O EXPANDER I2C 16B 28QFN
MCP23018T-E/SS IC I/O EXPANDER I2C 16B 24SSOP
相关代理商/技术参数
参数描述
MCP2200-ISO 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:USB 2.0 to UART Protocol Converter with GPIO
MCP2200-ISS 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:USB 2.0 to UART Protocol Converter with GPIO
MCP2200T-I/MQ 功能描述:USB 接口集成电路 USB-to-UART Protocol Converter w/ GPIO RoHS:否 制造商:Cypress Semiconductor 产品:USB 2.0 数据速率: 接口类型:SPI 工作电源电压:3.15 V to 3.45 V 工作电源电流: 最大工作温度:+ 85 C 安装风格:SMD/SMT 封装 / 箱体:WLCSP-20
MCP2200T-I/NQ 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:USB 2.0 to UART Protocol Converter with GPIO
MCP2200T-I/SO 功能描述:USB 接口集成电路 USB-to-UART Protocol Converter w/ GPIO RoHS:否 制造商:Cypress Semiconductor 产品:USB 2.0 数据速率: 接口类型:SPI 工作电源电压:3.15 V to 3.45 V 工作电源电流: 最大工作温度:+ 85 C 安装风格:SMD/SMT 封装 / 箱体:WLCSP-20