參數(shù)資料
型號(hào): MCP2200-I/MQ
廠商: Microchip Technology
文件頁(yè)數(shù): 5/44頁(yè)
文件大?。?/td> 0K
描述: IC USB TO UART 20QFN
特色產(chǎn)品: MCP2200 USB-to-UART Serial Converter
標(biāo)準(zhǔn)包裝: 73
特點(diǎn): USB 至 UART
通道數(shù): 8
FIFO's: 256 字節(jié)
規(guī)程: USB 2.0
電源電壓: 3 V ~ 5.5 V
帶自動(dòng)流量控制功能:
安裝類型: 表面貼裝
封裝/外殼: 20-VQFN 裸露焊盤
供應(yīng)商設(shè)備封裝: 20-VQFN
包裝: 管件
產(chǎn)品目錄頁(yè)面: 684 (CN2011-ZH PDF)
2011 Microchip Technology Inc.
DS22228B-page 13
MCP2200
2.3.1.2
ConfigureIO
Function:
bool SimpleIOClass::ConfigureIO (unsigned char IOMap)
EXAMPLE 2-2:
2.3.1.3
ConfigureIoDefaultOutput
Function:
bool SimpleIOClass::ConfigureIoDefaultOutput (unsigned char ucIoMap, unsigned char ucDefValue)
EXAMPLE 2-3:
Summary:
Configures the GPIO pins for Digital Input, Digital Output.
Description:
GPIO Pins can be configured as Digital Input, Digital Output.
Precondition:
VID and PID must be previously set via a call to InitMCP2200(VID, PID).
Parameters:
IOMap
- a byte that represents a bitmap of the GPIO configuration:
a bit set to ‘1’ will be a digital input
a bit set to ‘0’ will be a digital output
MSB –
LSB
GP7 GP6 GP5 GP4 GP3 GP2 GP1 GP0
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 IO pins for Digital Input, Digital Output and also the default output latch value.
Description:
IO Pins can be configured as Digital Input, Digital Output. The default output latch value is received
as a parameter.
Precondition:
VID and PID must be previously set via a call to InitMCP2200(VID, PID).
Parameters:
1.
ucIoMap
- a byte that represents a bitmap used to set the GPIOs as either input or output.
1’ configures GPIO as input
0’ configures GPIO as output
MSB –
LSB
GP7 GP6 GP5 GP4 GP3 GP2 GP1 GP0
2.
ucDefValue
- the default value that will be loaded to the output latch (affects only the pins configured as
outputs).
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::ConfigureIO(0xA5) == SUCCESS)
lblStatusBar->Text = “Success”;
else
lblStatusBar->Text = “Invalid command ” + SimpleIOClass::LastError;
if (SimpleIOClass::ConfigureIoDefaultOutput(IoMap, DefValue) == SUCCESS)
lblStatusBar->Text = “Success”;
else
lblStatusBar->Text = “Invalid command ” + SimpleIOClass::LastError;
相關(guān)PDF資料
PDF描述
MCP2200T-I/MQ IC USB 2.0 - UART 20QFN
MCP2210T-I/MQ IC CONVERTER USB-PCI 20-QFN
MCP23008-E/ML IC I/O EXPANDER I2C 8B 20QFN
MCP23016T-I/ML IC I/O EXPANDER I2C 16B 28QFN
MCP23018T-E/SS IC I/O EXPANDER I2C 16B 24SSOP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MCP2200-ISO 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:USB 2.0 to UART Protocol Converter with GPIO
MCP2200-ISS 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:USB 2.0 to UART Protocol Converter with GPIO
MCP2200T-I/MQ 功能描述:USB 接口集成電路 USB-to-UART Protocol Converter w/ GPIO RoHS:否 制造商:Cypress Semiconductor 產(chǎn)品:USB 2.0 數(shù)據(jù)速率: 接口類型:SPI 工作電源電壓:3.15 V to 3.45 V 工作電源電流: 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:WLCSP-20
MCP2200T-I/NQ 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:USB 2.0 to UART Protocol Converter with GPIO
MCP2200T-I/SO 功能描述:USB 接口集成電路 USB-to-UART Protocol Converter w/ GPIO RoHS:否 制造商:Cypress Semiconductor 產(chǎn)品:USB 2.0 數(shù)據(jù)速率: 接口類型:SPI 工作電源電壓:3.15 V to 3.45 V 工作電源電流: 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:WLCSP-20