参数资料
型号: PIC16HV540-20/SO
厂商: Microchip Technology
文件页数: 5/44页
文件大小: 0K
描述: IC MCU OTP 512X12 18SOIC
产品培训模块: Asynchronous Stimulus
标准包装: 42
系列: PIC® 16C
核心处理器: PIC
芯体尺寸: 8-位
速度: 20MHz
外围设备: 欠压检测/复位,POR,WDT
输入/输出数: 12
程序存储器容量: 768B(512 x 12)
程序存储器类型: OTP
RAM 容量: 25 x 8
电压 - 电源 (Vcc/Vdd): 3.5 V ~ 15 V
振荡器型: 外部
工作温度: 0°C ~ 70°C
封装/外壳: 18-SOIC(0.295",7.50mm 宽)
包装: 管件
产品目录页面: 635 (CN2011-ZH PDF)
配用: 309-1075-ND - ADAPTER 18-SOIC TO 18-SOIC
AC164002-ND - MODULE SKT PROMATEII 18/28SOIC
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;
相关PDF资料
PDF描述
V150A28C400BF2 CONVERTER MOD DC/DC 28V 400W
PIC16F723T-I/MV IC MCU 8BIT 7KB FLASH 28UQFN
V150A28C400BF CONVERTER MOD DC/DC 28V 400W
PIC16F723T-I/ML IC PIC MCU FLASH 4KX14 28QFN
V150A28C400BL3 CONVERTER MOD DC/DC 28V 400W
相关代理商/技术参数
参数描述
PIC16HV540T-04/SO 功能描述:8位微控制器 -MCU .75KB 25 RAM 12 I/O 4MHz SOIC18 RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16HV540T-04/SS 功能描述:8位微控制器 -MCU .75KB 25 RAM 12 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16HV540T-04I/SO 功能描述:8位微控制器 -MCU .75KB 25 RAM 12 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16HV540T-04I/SS 功能描述:8位微控制器 -MCU .75KB 25 RAM 12 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16HV540T-20/SO 功能描述:8位微控制器 -MCU .75KB 25 RAM 12 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT