English
Language : 

PIC16F84A_13 Datasheet, PDF (82/90 Pages) Microchip Technology – 18-pin Enhanced FLASH/EEPROM 8-Bit Microcontroller
PIC16F84A
SUBWF ....................................................................... 41
SWAPF ....................................................................... 41
XORLW ....................................................................... 42
XORWF....................................................................... 42
Summary Table........................................................... 36
INT Interrupt (RB0/INT)....................................................... 29
INTCON Register .................................7, 10, 18, 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
Internet Address.................................................................. 85
, 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
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
Microchip Internet Web Site ................................................ 85
Migration from Baseline to Mid-Range Devices .................. 80
MPLAB ASM30 Assembler, Linker, Librarian ..................... 44
MPLAB Integrated Development Environment Software .... 43
MPLAB PM3 Device Programmer....................................... 46
MPLAB REAL ICE In-Circuit Emulator System................... 45
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 ........................................................ 69
Marking ....................................................................... 69
PD bit .................................................................................... 8
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
Power-on Reset (POR).......................................... 21, 24, 26
, Oscillator Start-up Timer (OST) ............................21 26
PD Bit .................................................8, 24, 28, 32, 33
, Power-up Timer (PWRT) ......................................21 26
Time-out Sequence .................................................... 28
, Time-out Sequence on Power-up .........................27 28
TO Bit .......................................... 8, 24, 28, 30, 32, 33
Prescaler............................................................................. 19
Assignment (PSA Bit) ................................................. 19
Block Diagram ............................................................ 20
Rate Select (PS2:PS0 Bits) ........................................ 19
Switching Prescaler Assignment ................................ 20
DS35007C-page 82
 2001-2013 Microchip Technology Inc.