Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

MCP2200T-I/SS Datasheet(PDF) 14 Page - Microchip Technology

Part # MCP2200T-I/SS
Description  USB 2.0 to UART Protocol Converter with GPIO
PDF  44 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP2200T-I/SS Datasheet(HTML) 14 Page - Microchip Technology

Back Button MCP2200T-I/SS Datasheet HTML 10Page - Microchip Technology MCP2200T-I/SS Datasheet HTML 11Page - Microchip Technology MCP2200T-I/SS Datasheet HTML 12Page - Microchip Technology MCP2200T-I/SS Datasheet HTML 13Page - Microchip Technology MCP2200T-I/SS Datasheet HTML 14Page - Microchip Technology MCP2200T-I/SS Datasheet HTML 15Page - Microchip Technology MCP2200T-I/SS Datasheet HTML 16Page - Microchip Technology MCP2200T-I/SS Datasheet HTML 17Page - Microchip Technology MCP2200T-I/SS Datasheet HTML 18Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 44 page
background image
MCP2200
DS20002228C-page 14
 2011-2015 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 or ‘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 the USB has loaded the configuration.
7.
SSPND
- this parameter establishes when the USB sends the Suspend mode signal.
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;



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com