![](http://datasheet.mmic.net.cn/260000/PIC16LF84A_datasheet_15942893/PIC16LF84A_64.png)
PIC16F84A
DS35007A-page 64
Preliminary
1998 Microchip Technology Inc.
P
Packaging ..........................................................................55
PICDEM-1 Low-Cost PICmicro Demo Board .....................36
PICDEM-2 Low-Cost PIC16CXX Demo Board ..................36
PICDEM-3 Low-Cost PIC16CXXX Demo Board ................36
PICSTART
Plus Entry Level Development System ........35
Pinout Descriptions ..............................................................4
Pointer, FSR .......................................................................11
PORTA ...........................................................................4, 13
Initializing ...................................................................13
PORTA Register ........................................7, 13, 14, 24
RA3:RA0 Block Diagram ............................................13
RA4 Block Diagram ....................................................14
RA4/T0CKI Pin .................................................4, 13, 17
TRISA Register ....................................7, 13, 14, 18, 24
PORTB ...........................................................................4, 15
Initializing ...................................................................15
PORTB Register ........................................7, 15, 16, 24
Pull-up Enable (RBPU Bit) ...........................................9
RB0/INT Edge Select (INTEDG Bit) .............................9
RB0/INT Pin, External ......................................4, 16, 29
RB3:RB0 Block Diagram ............................................15
RB7:RB4 Block Diagram ............................................15
RB7:RB4 Interrupt on Change .........................4, 15, 29
RB7:RB4 Interrupt on Change Enable (RBIE Bit) ......10
RB7:RB4 Interrupt on Change Flag (RBIF Bit) ....10, 15
TRISB Register ..........................................7, 15, 16, 24
Power-on Reset (POR) ..........................................21, 23, 25
Oscillator Start-up Timer (OST) ...........................21, 25
PD Bit .............................................8, 23, 28, 31, 32, 34
Power-up Timer (PWRT) .....................................21, 25
PWRT Enable (PWRTE Bit) .......................................21
Time-out Sequence ....................................................28
Time-out Sequence on Power-up ........................26, 27
TO Bit .......................................8, 23, 28, 30, 31, 32, 34
Prescaler ............................................................................17
Assignment (PSA Bit) ............................................9, 17
Block Diagram ............................................................18
Rate Select (PS2:PS0 Bits) ...................................9, 17
Switching Prescaler Assignment ................................18
PRO MATE
II Universal Programmer ..............................35
Product Identification System .............................................67
Program Counter ................................................................11
PCL Register ....................................................7, 11, 24
PCLATH Register ............................................7, 11, 24
Reset Conditions ........................................................24
Program Memory .................................................................5
General Purpose Registers ..........................................6
Interrupt Vector ......................................................5, 29
Reset Vector ................................................................5
Special Function Registers ......................................6, 7
Programming, Device Instructions .....................................33
R
RAM. SeeData Memory
Reader Response ..............................................................66
Register File .........................................................................6
Reset ............................................................................21, 23
Block Diagram ............................................................23
Reset Conditions for All Registers .............................24
Reset Conditions for Program Counter ......................24
Reset Conditions for STATUS Register .....................24
WDT Reset. SeeWatchdog Timer (WDT)
Revision History .................................................................59
S
Saving W Register and STATUS in RAM .......................... 29
SEEVAL
Evaluation and Programming System .............. 37
SLEEP ............................................................. 21, 23, 29, 31
Software Simulator (MPLAB-SIM) ..................................... 37
Special Features of the CPU ............................................. 21
Special Function Registers .............................................. 6, 7
Speed, Operating ..................................................... 1, 22, 49
Stack .................................................................................. 11
STATUS Register ................................................ 7, 8, 24, 29
C Bit ....................................................................... 8, 34
DC Bit .................................................................... 8, 34
PD Bit ............................................ 8, 23, 28, 31, 32, 34
Reset Conditions ....................................................... 24
RP0 Bit .................................................................... 6, 8
TO Bit ...................................... 8, 23, 28, 30, 31, 32, 34
Z Bit ....................................................................... 8, 34
T
Time-out (TO) Bit. SeePower-on Reset (POR)
Timer0 ................................................................................ 17
Block Diagram ........................................................... 17
Clock Source Edge Select (T0SE Bit) ......................... 9
Clock Source Select (T0CS Bit) .................................. 9
Overflow Enable (T0IE Bit) .................................. 10, 29
Overflow Flag (T0IF Bit) ................................ 10, 18, 29
Overflow Interrupt ................................................ 18, 29
RA4/T0CKI Pin, External Clock ................................. 17
TMR0 Register ................................................ 7, 18, 24
Timing Diagrams
Diagrams and Specifications ..................................... 49
Time-out Sequence on Power-up ........................ 26, 27
W
W Register ................................................................... 24, 29
Wake-up from SLEEP ................................ 21, 25, 28, 29, 31
Interrupts ............................................................. 31, 32
MCLR Reset .............................................................. 31
WDT Reset ................................................................ 31
Watchdog Timer (WDT) ............................................... 21, 30
Block Diagram ........................................................... 30
Enable (WDTE Bit) .................................................... 21
Programming Considerations .................................... 30
RC Oscillator ............................................................. 30
Time-out Period ......................................................... 30
WDT Reset, Normal Operation .................................. 23
WDT Reset, SLEEP ............................................ 23, 31
WWW, On-Line Support ................................................ 2, 65