参数资料
型号: PIC16F84A-04/SO
厂商: Microchip Technology
文件页数: 5/81页
文件大小: 0K
描述: IC MCU FLASH 1KX14 EE 18SOIC
产品培训模块: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
标准包装: 42
系列: PIC® 16F
核心处理器: PIC
芯体尺寸: 8-位
速度: 4MHz
外围设备: POR,WDT
输入/输出数: 13
程序存储器容量: 1.75KB(1K x 14)
程序存储器类型: 闪存
EEPROM 大小: 64 x 8
RAM 容量: 68 x 8
电压 - 电源 (Vcc/Vdd): 4 V ~ 5.5 V
振荡器型: 外部
工作温度: 0°C ~ 70°C
封装/外壳: 18-SOIC(0.295",7.50mm 宽)
包装: 管件
产品目录页面: 638 (CN2011-ZH PDF)
配用: XLT18SO-1-ND - SOCKET TRANSITION 18SOIC 300MIL
I3-DB16F84A-ND - BOARD DAUGHTER ICEPIC3
309-1075-ND - ADAPTER 18-SOIC TO 18-SOIC
309-1011-ND - ADAPTER 18-SOIC TO 18-DIP
309-1010-ND - ADAPTER 18-SOIC TO 18-DIP
AC164010-ND - MODULE SKT PROMATEII DIP/SOIC
2001 Microchip Technology Inc.
DS35007B-page 11
PIC16F84A
2.4
PCL and PCLATH
The program counter (PC) specifies the address of the
instruction to fetch for execution. The PC is 13 bits
wide. The low byte is called the PCL register. This reg-
ister is readable and writable. The high byte is called
the PCH register. This register contains the PC<12:8>
bits and is not directly readable or writable. If the pro-
gram counter (PC) is modified or a conditional test is
true, the instruction requires two cycles. The second
cycle is executed as a NOP. All updates to the PCH reg-
ister go through the PCLATH register.
2.4.1
STACK
The stack allows a combination of up to 8 program calls
and interrupts to occur. The stack contains the return
address from this branch in program execution.
Mid-range devices have an 8 level deep x 13-bit wide
hardware stack. The stack space is not part of either
program or data space and the stack pointer is not
readable or writable. The PC is PUSHed onto the stack
when a CALL instruction is executed or an interrupt
causes a branch. The stack is POPed in the event of a
RETURN,
RETLW
or a RETFIE instruction execution.
PCLATH is not modified when the stack is PUSHed or
POPed.
After the stack has been PUSHed eight times, the ninth
push overwrites the value that was stored from the first
push. The tenth push overwrites the second push (and
so on).
2.5
Indirect Addressing; INDF and
FSR Registers
The INDF register is not a physical register. Addressing
INDF actually addresses the register whose address is
contained in the FSR register (FSR is a
pointer). This is
indirect addressing.
EXAMPLE 2-1:
INDIRECT ADDRESSING
Reading INDF itself indirectly (FSR = 0) will produce
00h. Writing to the INDF register indirectly results in a
no-operation (although STATUS bits may be affected).
A simple program to clear RAM locations 20h-2Fh
using indirect addressing is shown in Example 2-2.
EXAMPLE 2-2:
HOW TO CLEAR RAM
USING INDIRECT
ADDRESSING
An effective 9-bit address is obtained by concatenating
the 8-bit FSR register and the IRP bit (STATUS<7>), as
shown in Figure 2-3. However, IRP is not used in the
PIC16F84A.
Register file 05 contains the value 10h
Register file 06 contains the value 0Ah
Load the value 05 into the FSR register
A read of the INDF register will return the value
of 10h
Increment the value of the FSR register by one
(FSR = 06)
A read of the INDF register now will return the
value of 0Ah.
movlw
0x20
;initialize pointer
movwf
FSR
;to RAM
NEXT
clrf
INDF
;clear INDF register
incf
FSR
;inc pointer
btfss
FSR,4
;all done?
goto
NEXT
;NO, clear next
CONTINUE
:
;YES, continue
相关PDF资料
PDF描述
PIC18F4410-I/PT IC MCU FLASH 8KX16 44TQFP
TS87C58X2-LIA IC MCU 8BIT 32K OTP 30MHZ 40-DIP
TS87C51RC2-VCA IC MCU 8BIT 32K OTP 40MHZ 40-DIP
PIC18F6490-I/PT IC PIC MCU FLASH 8KX16 64TQFP
PIC18F8310-I/PT IC PIC MCU FLASH 4KX16 80TQFP
相关代理商/技术参数
参数描述
PIC16F84A-20/P 功能描述:8位微控制器 -MCU 1.75KB 68 RAM 13 I/O 20MHz PDIP18 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
PIC16F84A-20/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 16F84 DIP18
PIC16F84A-20/SO 功能描述:8位微控制器 -MCU 1.75KB 68 RAM 13 I/O 20MHz 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
PIC16F84A-20/SO 制造商:Microchip Technology Inc 功能描述:8BIT FLASH MCU SMD 16F84 SOIC18
PIC16F84A-20/SS 功能描述:8位微控制器 -MCU 1.75KB 68 RAM 13 I/O 20MHz SSOP20 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