參數(shù)資料
型號: MCP2200-I/SS
廠商: Microchip Technology
文件頁數(shù): 15/44頁
文件大?。?/td> 0K
描述: IC USB TO UART 20SSOP
特色產(chǎn)品: MCP2200 USB-to-UART Serial Converter
標(biāo)準(zhǔn)包裝: 67
特點(diǎn): USB 至 UART
通道數(shù): 8
FIFO's: 256 字節(jié)
規(guī)程: USB 2.0
電源電壓: 3 V ~ 5.5 V
帶自動(dòng)流量控制功能:
安裝類型: 表面貼裝
封裝/外殼: 20-SSOP(0.209",5.30mm 寬)
供應(yīng)商設(shè)備封裝: 20-SSOP
包裝: 管件
產(chǎn)品目錄頁面: 684 (CN2011-ZH PDF)
工具箱: AC160135-1-KIT-ND - KIT
MCP2200
DS22228B-page 22
2011 Microchip Technology Inc.
2.3.1.23
SetPin
Function:
bool SimpleIOClass::SetPin(unsigned int pin)
EXAMPLE 2-23:
2.3.1.24
WriteEEPROM
Function:
int SimpleIOClass::WriteEEPROM(unsigned int uiEEPAddress, unsigned char ucValue)
EXAMPLE 2-24:
Summary:
Sets the specified pin.
Description:
Sets the specified pin to logic ‘1’.
Precondition:
Must be previously configured as an output via a ConfigureIO or ConfigureIoDefaultOutput call.
VID and PID must be previously set via a call to InitMCP2200(VID, PID).
Parameters:
pin
- the pin number to set (0-7)
Returns:
This function returns True if the transmission is successful and returns False if the transmission fails.
Remarks:
None.
Summary:
Writes a byte into the MCP2200’s EEPROM.
Description:
Writes a byte at the given address into the internal 256 bytes EEPROM.
Precondition:
At least one call to the InitMCP2200() is required in order to initiate a DLL search for the
compatible devices. VID and PID must be previously set via a call to InitMCP2200(VID, PID).
Parameters:
uiEEPAddress - the EEPROM address location we need to write to (must be from 0 to 255
inclusively).
ucValue - the byte value required for writing to the given location.
Returns:
This function returns ‘0’ if the write command was successfully sent to the device, otherwise it
returns:
E_WRONG_ADDRESS (-3) in case the given EEPROM address is out of range
E_CANNOT_SEND_DATA (-4) in case the function cannot send the command to the device.
Remarks:
The function will send the write EEPROM command, but has no confirmation whether the EEPROM
location was actually written. In order to verify the correctness of the EEPROM write, the user can
issue a SimpleIOClass::ReadEEPROM() and check if the returned value matches the written one.
if (SimpleIOClass::SetPin (2))
{
lblStatusBar->Text = “Success”;
}
else
lblStatusBar->Text = “Invalid command ” +
SimpleIOClass::LastError;
int iRetValue = SimpleIOClass::WriteEEPROM(0x01, 0xAB);
if (iRetValue == 0)
{
lblStatusBar->Text = “Success”;
}
else
lblStatusBar->Text = “Error writting to EEPROM” +
SimpleIOClass::LastError;
相關(guān)PDF資料
PDF描述
CAT9534YI-GT2 IC I/O EXPANDER I2C 8B 16TSSOP
CAT9534WI-GT2 IC I/O EXPANDER I2C 8B 16SOIC
ATMEGA8535L-8MUR MCU AVR 8K FLASH 8MHZ 44QFN
PCA9535EDTR2G 16-BIT I/O EXPANDER 24TSSOP
PCA9535ECMTTXG 16-BIT I/O EXPANDER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
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
MCP2200T-I/SS 功能描述: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-IMQ 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:USB 2.0 to UART Protocol Converter with GPIO