MCP2210 MICROCHIP [Microchip Technology], MCP2210 Datasheet - Page 46

no-image

MCP2210

Manufacturer Part Number
MCP2210
Description
USB-to-SPI Protocol Converter with GPIO (Master Mode)
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP2210-I/MQ
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2210-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2210-I/SS
Manufacturer:
ON
Quantity:
4 300
Part Number:
MCP2210-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2210T-I/MQ
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2210T-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
MCP2210
3.2.5
TABLE 3-42:
3.2.5.1
TABLE 3-43:
FIGURE 3-16:
DS22288A-page 46
Note 1:
Index
Index
Byte
Byte
3-63
6-63
0
1
2
0
1
2
3
4
5
This command will only have an effect on those GPs previously configured as GPIOs.
GET (VM) GPIO CURRENT PIN DIRECTION
0x33 – Get (VM) GPIO Current Pin Direction
0x00 – Reserved
0x00 – Reserved
0x00 – Reserved
0x33 – Get (VM) GPIO Current Pin Direction – echos back the given command code
0x00 – Command Completed Successfully
Don’t Care
Don’t Care
GPIO Direction – 16-bit value (low byte):
• MSB
GPIO Direction – 16-bit value (high byte):
• MSB
Don’t Care
Responses
GP7DIR GP6DIR GP5DIR GP4DIR GP3DIR GP2DIR GP1DIR GP0DIR
x
COMMAND STRUCTURE
RESPONSE 1 STRUCTURE
GET (VM) GPIO CURRENT PIN DIRECTION LOGIC FLOW
x
x
x
x
x
Get RAM GPIO
Response 1
x
RAM GPIO
Direction
Retrieved
Direction
GP8DIR
LSB
Meaning
Meaning
LSB
 2011 Microchip Technology Inc.

Related parts for MCP2210