參數(shù)資料
型號: PIC16HV540T-20I/SS
廠商: Microchip Technology
文件頁數(shù): 5/44頁
文件大小: 0K
描述: IC MCU OTP 512X12 20SSOP
標準包裝: 1,600
系列: PIC® 16C
核心處理器: PIC
芯體尺寸: 8-位
速度: 20MHz
外圍設備: 欠壓檢測/復位,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-20ISS
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描述
PIC16HV540T-20I/SO IC MCU OTP 512X12 18SOIC
VI-BND-IY-S CONVERTER MOD DC/DC 85V 50W
PIC16HV540T-04/SS IC MCU OTP 512X12 20SSOP
VI-BNB-IY-S CONVERTER MOD DC/DC 95V 50W
PIC16CE624T-20E/SS IC MCU OTP 1KX14 EE COMP 20SSOP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
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 安裝風格:SMD/SMT
PIC16HV610-E/P 功能描述: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 安裝風格:SMD/SMT
PIC16HV610-E/SL 功能描述: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 安裝風格:SMD/SMT
PIC16HV610-E/ST 功能描述: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 安裝風格:SMD/SMT
PIC16HV610-I/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 安裝風格:SMD/SMT