English
Language : 

PIC16F872_06 Datasheet, PDF (161/168 Pages) Microchip Technology – 28-Pin, 8-Bit CMOS Flash Microcontroller with 10-Bit A/D
MOVF ...................................................................... 108
MOVLW ................................................................... 108
MOVWF ................................................................... 108
NOP ......................................................................... 108
RETFIE .................................................................... 108
RETLW .................................................................... 108
RETURN .................................................................. 109
RLF .......................................................................... 109
RRF ......................................................................... 109
SLEEP ..................................................................... 109
SUBLW .................................................................... 109
SUBWF .................................................................... 109
SWAPF .................................................................... 110
XORLW ................................................................... 110
XORWF ................................................................... 110
Summary Table ....................................................... 104
INT Interrupt (RB0/INT). See Interrupt Sources
, INTCON Register .......................................................... 9 14
GIE Bit ....................................................................... 14
INTE Bit ..................................................................... 14
INTF Bit ..................................................................... 14
PEIE Bit ..................................................................... 14
RBIE Bit ..................................................................... 14
, RBIF Bit .............................................................. 14 31
TMR0IE Bit ................................................................ 14
TMR0IF Bit ................................................................ 14
Inter-Integrated Circuit (I2C) .............................................. 51
Internal Sampling Switch (Rss) Impedance ....................... 82
, Interrupt Sources ........................................................ 87 97
Interrupt-on-Change (RB7:RB4 ) ............................... 31
RB0/INT Pin, External ............................................... 98
TMR0 Overflow .......................................................... 98
Interrupts
Bus Collision Interrupt ............................................... 18
Synchronous Serial Port Interrupt ............................. 16
Interrupts, Context Saving During ...................................... 98
Interrupts, Enable Bits
Global Interrupt Enable (GIE Bit) ............................... 97
Interrupt-on-Change (RB7:RB4) Enable
(RBIE Bit) .................................................. 98
Interrupts, Flag Bits
Interrupt-on-Change (RB7:RB4) Flag
, (RBIF Bit) ............................................ 31 98
TMR0 Overflow Flag (TMR0IF Bit) ............................ 98
K
KEELOQ Evaluation and Programming Tools ................... 114
L
Load Conditions ............................................................... 126
Loading of PC .................................................................... 20
Low Voltage ICSP Programming ..................................... 102
Low Voltage In-Circuit Serial Programming ....................... 87
PIC16F872
M
Master Clear (MCLR)
, MCLR Reset, Normal Operation .........................91 93
, MCLR Reset, SLEEP ..........................................91 93
Master Synchronous Serial Port. See MSSP
MCLR/VPP Pin ..................................................................... 5
Memory Organization .......................................................... 7
Data Memory ............................................................... 7
Program Memory ........................................................ 7
MPLAB C17 and MPLAB C18 C Compilers .................... 111
MPLAB ICD In-Circuit Debugger ..................................... 113
MPLAB ICE High Performance Universal In-Circuit
Emulator with MPLAB IDE ...................................... 112
MPLAB Integrated Development
Environment Software ............................................. 111
MPLINK Object Linker/MPLIB Object Librarian ............... 112
MSSP ................................................................................ 51
I2C Operation ............................................................ 58
Overflow Detect Bit (SSPOV) .................................... 59
Special Function Registers
SSPCON ........................................................... 51
SSPCON2 ......................................................... 51
SSPSTAT .......................................................... 51
SPI Master Mode ...................................................... 55
SPI Mode .................................................................. 55
SPI Slave Mode ........................................................ 56
SSPADD ................................................................... 59
SSPADD Register ..................................................... 58
SSPBUF .................................................................... 55
SSPBUF Register ..................................................... 58
, SSPSR ................................................................55 59
SSPSTAT Register ................................................... 58
Multi-Master Communication ............................................. 73
O
OPCODE Field Descriptions ........................................... 103
, OPTION_REG Register ..............................................10 13
INTEDG Bit ............................................................... 13
PS2:PS0 Bits ............................................................. 13
PSA Bit ...................................................................... 13
RBPU Bit ................................................................... 13
T0CS Bit .................................................................... 13
T0SE Bit .................................................................... 13
OSC1/CLKI Pin ................................................................... 5
OSC2/CLKO Pin .................................................................. 5
Oscillator Configuration
, HS .......................................................................89 92
, LP ........................................................................89 92
RC , ................................................................ 89 90, 92
, XT ........................................................................89 92
Oscillator Selection ............................................................ 87
Oscillator, WDT ................................................................. 99
Oscillators
Capacitor Selection ................................................... 90
Crystal and Ceramic Resonators .............................. 89
RC ............................................................................. 90
© 2006 Microchip Technology Inc.
DS30221C-page 159