Electronic Components Datasheet Search
  English  ▼

X  

MCP2221 Datasheet(PDF) 48 Page - Microchip Technology

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

MCP2221 Datasheet(HTML) 48 Page - Microchip Technology

Back Button MCP2221 Datasheet HTML 44Page - Microchip Technology MCP2221 Datasheet HTML 45Page - Microchip Technology MCP2221 Datasheet HTML 46Page - Microchip Technology MCP2221 Datasheet HTML 47Page - Microchip Technology MCP2221 Datasheet HTML 48Page - Microchip Technology MCP2221 Datasheet HTML 49Page - Microchip Technology MCP2221 Datasheet HTML 50Page - Microchip Technology MCP2221 Datasheet HTML 51Page - Microchip Technology MCP2221 Datasheet HTML 52Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 48 / 80 page
background image
MCP2221
DS20005292B-page 48
 2015 Microchip Technology Inc.
3.1.12
GET GPIO VALUES
This command is used to retrieve the GPIO direction
and pin value for those GP pins assigned for GPIO
operation (GPIO inputs or outputs).
3.1.12.1
Responses
TABLE 3-34:
COMMAND STRUCTURE
Byte
Index
Value
Effect
0
0x51
Get GPIO Values – command code
1-63
Don’t
care
TABLE 3-35:
RESPONSE 1 STRUCTURE
Byte
Index
Function
Description
Value
Effect
0
0x51
Get GPIO Values – command code
1
0x00
Command completed successfully
2
GP0 pin value
0xEE
If GP0 is not set for GPIO operation
Other values
(0x00 or 0x01)
If GP0 is already set for GPIO operation, the value represents the GP0 logic
pin value
3GP0 direction
value
0xEF
If GP0 is not set for GPIO operation
Other values
(0x00 or 0x01)
If GP0 is already set for GPIO operation, the value represents the GP0 pin
designation (0x00 for output and 0x01 for input)
4
GP1 pin value
0xEE
If GP1 is not set for GPIO operation
Other values
(0x00 or 0x01)
If GP1 is already set for GPIO operation, the value represents the GP1 logic
pin value
5GP1 direction
value
0xEF
If GP1 is not set for GPIO operation
Other values
(0x00 or 0x01)
If GP1 is already set for GPIO operation, the value represents the GP1 pin
designation (0x00 for output and 0x01 for input)
6
GP2 pin value
0xEE
If GP2 is not set for GPIO operation
Other values
(0x00 or 0x01)
If GP2 is already set for GPIO operation, the value represents the GP2 logic
pin value
7GP2 direction
value
0xEF
If GP2 is not set for GPIO operation
Other values
(0x00 or 0x01)
If GP2 is already set for GPIO operation, the value represents the GP2 pin
designation (0x00 for output and 0x01 for input)
8
GP3 pin value
0xEE
If GP3 is not set for GPIO operation
Other values
(0x00 or 0x01)
If GP3 is already set for GPIO operation, the value represents the GP3 logic
pin value
9GP3 direction
value
0xEF
If GP3 is not set for GPIO operation
Other values
(0x00 or 0x01)
If GP3 is already set for GPIO operation, the value represents the GP3 pin
designation (0x00 for output and 0x01 for input)
10-63
Don’t care



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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80


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