参数资料
型号: PIC16LF84-04/P
厂商: Microchip Technology
文件页数: 16/80页
文件大小: 0K
描述: IC MCU FLASH 1KX14 EE 18DIP
产品培训模块: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
标准包装: 25
系列: PIC® 16F
核心处理器: PIC
芯体尺寸: 8-位
速度: 4MHz
外围设备: POR,WDT
输入/输出数: 13
程序存储器容量: 1.75KB(1K x 14)
程序存储器类型: 闪存
EEPROM 大小: 64 x 8
RAM 容量: 68 x 8
电压 - 电源 (Vcc/Vdd): 2 V ~ 6 V
振荡器型: 外部
工作温度: 0°C ~ 70°C
封装/外壳: 18-DIP(0.300",7.62mm)
包装: 管件
其它名称: PIC16LC84A-04/P
PIC16F8X
1998 Microchip Technology Inc.
DS30430C-page 23
5.2
PORTB and TRISB Registers
PORTB is an 8-bit wide bi-directional port. The
corresponding data direction register is TRISB. A ’1’ on
any bit in the TRISB register puts the corresponding
output driver in a hi-impedance mode. A ’0’ on any bit
in the TRISB register puts the contents of the output
latch on the selected pin(s).
Each of the PORTB pins have a weak internal pull-up.
A single control bit can turn on all the pull-ups. This is
done by clearing the RBPU (OPTION_REG<7>) bit.
The weak pull-up is automatically turned off when the
port pin is configured as an output. The pull-ups are
disabled on a Power-on Reset.
Four of PORTB’s pins, RB7:RB4, have an interrupt on
change feature. Only pins configured as inputs can
cause this interrupt to occur (i.e., any RB7:RB4 pin
configured as an output is excluded from the interrupt
on change comparison). The pins value in input mode
are compared with the old value latched on the last
read of PORTB. The “mismatch” outputs of the pins are
OR’ed
together
to
generate
the
RB
port
change interrupt.
FIGURE 5-3:
BLOCK DIAGRAM OF PINS
RB7:RB4
This interrupt can wake the device from SLEEP. The
user, in the interrupt service routine, can clear the
interrupt in the following manner:
a)
Read (or write) PORTB. This will end the mis-
match condition.
b)
Clear flag bit RBIF.
A mismatch condition will continue to set the RBIF bit.
Reading PORTB will end the mismatch condition, and
allow the RBIF bit to be cleared.
This interrupt on mismatch feature, together with
software configurable pull-ups on these four pins allow
easy interface to a key pad and make it possible for
wake-up on key-depression (see AN552 in the
Embedded Control Handbook).
The interrupt on change feature is recommended for
wake-up on key depression operation and operations
where PORTB is only used for the interrupt on change
feature. Polling of PORTB is not recommended while
using the interrupt on change feature.
FIGURE 5-4:
BLOCK DIAGRAM OF PINS
RB3:RB0
RBPU(1)
Data Latch
From other
P
VDD
Q
D
CK
Q
D
CK
QD
EN
QD
EN
Data bus
WR Port
WR TRIS
Set RBIF
TRIS Latch
RD TRIS
RD Port
RB7:RB4 pins
weak
pull-up
RD Port
Latch
TTL
Input
Buffer
Note
1: TRISB = ’1’ enables weak pull-up
(if RBPU = ’0’ in the OPTION_REG register).
2: I/O pins have diode protection to VDD and VSS.
I/O
pin(2)
Note 1: For a change on the I/O pin to be
recognized, the pulse width must be at
least TCY (4/fOSC) wide.
RBPU(1)
I/O
pin(2)
Data Latch
P
VDD
Q
D
CK
Q
D
CK
QD
EN
Data bus
WR Port
WR TRIS
RD TRIS
RD Port
weak
pull-up
RD Port
RB0/INT
TTL
Input
Buffer
Schmitt Trigger
Buffer
TRIS Latch
Note
1: TRISB = ’1’ enables weak pull-up
(if RBPU = ’0’ in the OPTION_REG register).
2: I/O pins have diode protection to VDD and VSS.
相关PDF资料
PDF描述
TSC87251G2D-24IJ IC 8051 MCU 8BIT OTP 32K 40CDIL
202759-4 PIN MODULE 14 POS G-SERIES
213684-2 CONN PLUG 34POS W/CABLE HARDWARE
TSC87251G2D-24IC IC 8051 MCU 8BIT OTP 32K 44CQPJ
TS87C51RD2-LCMD IC 8051 MCU 8BIT OTP 64K 64VQFP
相关代理商/技术参数
参数描述
PIC16LF84A-04/P 功能描述:8位微控制器 -MCU 1.75KB 68 RAM 13 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
PIC16LF84A-04/P 制造商:Microchip Technology Inc 功能描述:8-Bit Microcontroller IC
PIC16LF84A-04/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 制造商:Microchip Technology Inc 功能描述:IC, 8BIT FLASH MCU
PIC16LF84A-04/SO 功能描述:8位微控制器 -MCU 1.75KB 68 RAM 13 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
PIC16LF84A-04/SS 功能描述:8位微控制器 -MCU 1.75KB 68 RAM 13 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