Datasheet
PIC16F84A
DS35007B-page 80 2001 Microchip Technology Inc.
XORWF.......................................................................42
Summary Table...........................................................36
INT Interrupt (RB0/INT).......................................................29
INTCON Register....................................... 7
, 10, 20, 25, 29
EEIE Bit.......................................................................29
GIE Bit.................................................................. 10
, 29
INTE Bit................................................................ 10
, 29
INTF Bit................................................................ 10
, 29
PEIE Bit.......................................................................10
RBIE Bit ............................................................... 10
, 29
RBIF Bit..........................................................10
, 17, 29
T0IE Bit ................................................................ 10
, 29
T0IF Bit ..........................................................10
, 20, 29
Interrupt Sources.......................................................... 21
, 29
Block Diagram.............................................................29
Data EEPROM Write Complete ........................... 29
, 32
Interrupt-on-Change (RB7:RB4) ...............4
, 17, 29, 32
RB0/INT Pin, External...............................4
, 18, 29, 32
TMR0 Overflow .................................................... 20
, 29
Interrupts, Context Saving During.......................................30
Interrupts, Enable Bits
Data EEPROM Write Complete Enable
(EEIE Bit) ............................................................29
Global Interrupt Enable (GIE Bit) ................................10
Interrupt-on-Change (RB7:RB4) Enable
(RBIE Bit)............................................................10
Peripheral Interrupt Enable (PEIE Bit) ........................10
RB0/INT Enable (INTE Bit) .........................................10
TMR0 Overflow Enable (T0IE Bit)...............................10
Interrupts, Flag Bits.............................................................29
Data EEPROM Write Complete Flag
(EEIF Bit) ............................................................29
Interrupt-on-Change (RB7:RB4) Flag
(RBIF Bit) ............................................................10
RB0/INT Flag (INTF Bit)..............................................10
TMR0 Overflow Flag (T0IF Bit) ...................................10
IRP bit ...................................................................................8
K
KEELOQ Evaluation and Programming Tools ......................46
M
Master Clear (MCLR)
MCLR
Pin......................................................................4
MCLR
Reset, Normal Operation .................................24
MCLR
Reset, SLEEP........................................... 24, 32
Memory Organization............................................................5
Data EEPROM Memory.............................................. 13
Data Memory ................................................................6
Program Memory ..........................................................5
Migration from Baseline to Mid-Range Devices..................78
MPLAB C17 and MPLAB C18 C Compilers........................43
MPLAB ICD In-Circuit Debugger.........................................45
MPLAB ICE High Performance Universal In-Circuit
Emulator with MPLAB IDE..........................................44
MPLAB Integrated Development Environment
Software......................................................................43
MPLINK Object Linker/MPLIB Object Librarian ..................44
O
OPCODE Field Descriptions...............................................35
OPTION Register..................................................................9
INTEDG Bit ...................................................................9
PS2:PS0 Bits ................................................................9
PSA Bit..........................................................................9
RBPU
Bit.......................................................................9
T0CS Bit ....................................................................... 9
T0SE Bit ....................................................................... 9
OPTION_REG Register.................................... 7
, 18, 20, 25
INTEDG Bit................................................................. 29
PS2:PS0 Bits.............................................................. 19
PSA Bit ....................................................................... 19
OSC1 Pin.............................................................................. 4
OSC2 Pin.............................................................................. 4
Oscillator Configuration ................................................21
, 22
Block Diagram ......................................................22
, 23
Capacitor Selection for Ceramic Resonators.............. 22
Capacitor Selection for Crystal Oscillator ................... 23
Crystal Oscillator/Ceramic Resonators....................... 22
HS.........................................................................22
, 28
LP .........................................................................22
, 28
Oscillator Types.......................................................... 22
RC .................................................................22
, 23, 28
XT.........................................................................22
, 28
P
Packaging Information........................................................ 71
Marking....................................................................... 71
PD
Bit.................................................................................... 8
PICDEM 1 Low Cost PICmicro
Demonstration Board.................................................. 45
PICDEM 17 Demonstration Board...................................... 46
PICDEM 2 Low Cost PIC16CXX
Demonstration Board.................................................. 45
PICDEM 3 Low Cost PIC16CXXX
Demonstration Board.................................................. 46
PICSTART Plus Entry Level Development
Programmer................................................................ 45
Pinout Descriptions............................................................... 4
Pointer, FSR ....................................................................... 11
POR.
See
Power-on Reset
PORTA ...........................................................................4
, 15
Associated Registers.................................................. 16
Functions.................................................................... 16
Initializing.................................................................... 15
PORTA Register....................................... 7
, 15, 16, 25
RA3:RA0 Block Diagram ............................................ 15
RA4 Block Diagram .................................................... 15
RA4/T0CKI Pin ................................................4
, 15, 19
TRISA Register...................................7
, 15, 16, 20, 25
PORTB ...........................................................................4
, 17
Associated Registers.................................................. 18
Functions.................................................................... 18
Initializing.................................................................... 17
PORTB Register....................................... 7
, 17, 18, 25
Pull-up Enable Bit (RBPU
Bit)....................................... 9
RB0/INT Edge Select (INTEDG Bit) ............................. 9
RB0/INT Pin, External......................................4
, 18, 29
RB3:RB0 Block Diagram ............................................ 17
RB7:RB4 Block Diagram ............................................ 17
RB7:RB4 Interrupt-on-Change ........................4
, 17, 29
RB7:RB4 Interrupt-on-Change
Enable (RBIE Bit) ............................................... 10
RB7:RB4 Interrupt-on-Change
Flag (RBIF Bit)..............................................10
, 17
TRISB Register......................................... 7
, 17, 18, 25
Postscaler, WDT
Assignment (PSA Bit) ................................................... 9
Rate Select (PS2:PS0 Bits) .......................................... 9
Postscaler.
See
Prescaler
Power-down (PD
) Bit.
See
Power-on Reset (POR)
Power-down Mode.
See
SLEEP