Microchip Technology ADM00419 Data Sheet
MCP2210
DS22288A-page 40
2011 Microchip Technology Inc.
3.2.3.1
Responses
TABLE 3-39:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x20 – Get (VM) GPIO Current Chip Settings – echos back the given command code
1
0x00 – Command Completed Successfully
2
Don’t Care
3
Don’t Care
4
GP0 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
5
GP1 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
6
GP2 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
7
GP3 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
8
GP4 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
9
GP5 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
10
GP6 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
11
GP7 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
12
GP8 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
13
Default GPIO Output – 16-bit value (low byte):
• MSB – – – – – – LSB
• MSB – – – – – – LSB
GP7 GP6 GP5 GP4 GP3 GP2 GP1 GP0