MCP2200 Microchip Technology, MCP2200 Datasheet - Page 11

no-image

MCP2200

Manufacturer Part Number
MCP2200
Description
USB-to-UART Serial Converter
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP2200-I/MQ
Manufacturer:
MICROCHIP
Quantity:
1 000
Part Number:
MCP2200-I/MQ
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2200-I/SO
Manufacturer:
Microchip
Quantity:
719
Part Number:
MCP2200-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2200-I/SP
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP2200-I/SS
Manufacturer:
MICROCHIP
Quantity:
3 000
Part Number:
MCP2200-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2200EV-VCP
Manufacturer:
LT
Quantity:
910
Part Number:
MCP2200EV-VCP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2200T-I/MQ
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Parameters:
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.
Baudrate -
RxLED & TxLED - constant OFF, TOGGLE,
BLINKSLOW, BLINKFAST
Boolean - HWFlow control, USBCFG, Suspend
Returns:
Function returns true if the transmission is
successful, returns False if there the
transmission fails.
9600, BLINKSLOW, BLINKFAST, false, false,
false) == SUCCESS)
"
2.3.1.7
bool SimpleIOClass::fnRxLED (unsigned int
mode)
Summary:
Configures the RxLED pin function.
Description:
Sets the
Precondition:
The Vendor and Product ID must have been
specified by SimpleIOInit.
Parameters:
mode (constant): OFF, TOGGLE, BLINKSLOW,
BLINKFAST
Returns:
Function returns true if the transmission is
successful, returns False if there the
transmission fails.
Error code logged in LastError.
SUCCESS)
" + SimpleIOClass::LastError;
 2010 Microchip Technology Inc.
Example:
<code>
</code>
Example:
<code>
</code>
if (SimpleIOClass::ConfigureMCP2200(0x43,
else
if (SimpleIOClass::fnRxLED(BLINKFAST) ==
else
lblStatusBar->Text = "Success";
lblStatusBar->Text = "Invalid command
lblStatusBar->Text = "Success";
lblStatusBar->Text = "Invalid command
fnRxLED
2.3.1.8
bool SimpleIOClass::fnTxLED (unsigned int
mode)
Summary:
Configures the TxLED pin function.
Description:
Sets the
Precondition:
The Vendor and Product ID must have been
specified by SimpleIOInit.
Parameters:
mode (constant): OFF, TOGGLE, BLINKSLOW,
BLINKFAST
Returns:
Function returns true if the transmission is
successful, returns False if there the
transmission fails.
Error code logged in LastError.
SUCCESS)
" + SimpleIOClass::LastError;
2.3.1.9
bool SimpleIOClass::fnHardwareFlowControl
(unsigned int onOff)
Summary:
Configures the device.
Description:
Sets the
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>
</code>
if (SimpleIOClass::fnTxLED(BLINKFAST) ==
else
lblStatusBar->Text = "Success";
lblStatusBar->Text = "Invalid command
fnTxLED
fnHardwareFlowControl
MCP2200
www.DataSheet4U.com
DS22228A-page 11

Related parts for MCP2200