Electronic Components Datasheet Search
  English  ▼

X  

MCP2200 Datasheet(PDF) 16 Page - Microchip Technology

Part # MCP2200
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

MCP2200 Datasheet(HTML) 16 Page - Microchip Technology

Back Button MCP2200_13 Datasheet HTML 12Page - Microchip Technology MCP2200_13 Datasheet HTML 13Page - Microchip Technology MCP2200_13 Datasheet HTML 14Page - Microchip Technology MCP2200_13 Datasheet HTML 15Page - Microchip Technology MCP2200_13 Datasheet HTML 16Page - Microchip Technology MCP2200_13 Datasheet HTML 17Page - Microchip Technology MCP2200_13 Datasheet HTML 18Page - Microchip Technology MCP2200_13 Datasheet HTML 19Page - Microchip Technology MCP2200_13 Datasheet HTML 20Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 44 page
background image
MCP2200
DS22228B-page 16
 2011 Microchip Technology Inc.
EXAMPLE 2-8:
2.3.1.9
fnTxLED
Function:
bool SimpleIOClass::fnTxLED (unsigned int mode)
EXAMPLE 2-9:
2.3.1.10
fnULoad
Function:
bool SimpleIOClass::fnULoad (unsigned int onOff)
EXAMPLE 2-10:
Summary:
Configures the Tx LED mode. Tx LED configuration will be stored in NVRAM.
Description:
Sets the Tx LED mode to one of the possible values.
Precondition:
VID and PID must be previously set via a call to InitMCP2200(VID, PID).
Parameters:
mode (constant)
: OFF, TOGGLE, BLINKSLOW, BLINKFAST
Returns:
This function returns True if the transmission is successful and returns False if the transmission fails.
Remarks:
Error code is returned in LastError.
Summary:
Configures the GP1 pin of the MCP2200 to show the status of the USB configuration.
Description:
When the GP1 is designated to show the USB configuration status, the pin will start low (during
power-up or after Reset), and it will go high after the MCP2200 is successfully configured by the
host.
Precondition:
VID and PID must be previously set via a call to InitMCP2200(VID, PID).
Parameters:
onOff:
• ‘1’ GP1 will reflect the USB configuration status
•‘0’ GP1 will not reflect the USB configuration status (can be used as GPIO)
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::fnSuspend(1) == SUCCESS)
lblStatusBar->Text = “Success”;
else
lblStatusBar->Text = “Invalid command ” + SimpleIOClass::LastError;
if (SimpleIOClass::fnTxLED (BLINKSLOW) == SUCCESS)
lblStatusBar->Text = “Success”;
else
lblStatusBar->Text = “Invalid command ” + SimpleIOClass::LastError;
if (SimpleIOClass::fnULoad(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