參數(shù)資料
型號: PIC16HV540T-04I/SS
廠商: Microchip Technology
文件頁數(shù): 15/44頁
文件大小: 0K
描述: IC MCU OTP 512X12 20SSOP
標(biāo)準(zhǔn)包裝: 1,600
系列: PIC® 16C
核心處理器: PIC
芯體尺寸: 8-位
速度: 4MHz
外圍設(shè)備: 欠壓檢測/復(fù)位,POR,WDT
輸入/輸出數(shù): 12
程序存儲器容量: 768B(512 x 12)
程序存儲器類型: OTP
RAM 容量: 25 x 8
電壓 - 電源 (Vcc/Vdd): 3.5 V ~ 15 V
振蕩器型: 外部
工作溫度: -40°C ~ 85°C
封裝/外殼: 20-SSOP(0.209",5.30mm 寬)
包裝: 帶卷 (TR)
其它名稱: PIC16HV540T-04ISS
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描述
VI-B6P-IY-S CONVERTER MOD DC/DC 13.8V 50W
PIC16HV540T-04I/SO IC MCU OTP 512X12 18SOIC
VI-B6N-IY-S CONVERTER MOD DC/DC 18.5V 50W
PIC16F877T-20/PQ IC MCU FLASH 8KX14 EE 44-MQFP
VI-B6L-IY-S CONVERTER MOD DC/DC 28V 50W
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16HV540T-20/SO 功能描述:8位微控制器 -MCU .75KB 25 RAM 12 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16HV540T-20/SS 功能描述:8位微控制器 -MCU .75KB 25 RAM 12 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16HV540T-20I/SO 功能描述:8位微控制器 -MCU .75KB 25 RAM 12 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16HV540T-20I/SS 功能描述:8位微控制器 -MCU .75KB 25 RAM 12 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16HV610-E/ML 功能描述:8位微控制器 -MCU 1.75KB Flash 72B RAM RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT