English
Language : 

PIC16F872_06 Datasheet, PDF (162/168 Pages) Microchip Technology – 28-Pin, 8-Bit CMOS Flash Microcontroller with 10-Bit A/D
PIC16F872
P
P Bit
STOP Bit (P) .............................................................. 52
– Packaging ............................................................... 151 154
PCL Register , ..........................................................9 10, 20
, PCLATH Register ......................................................... 9 20
PCON Register , .....................................................10 19, 92
BOR Bit ...................................................................... 19
POR Bit ...................................................................... 19
PEN Bit
STOP Condition Enable Bit (PEN) ............................. 54
PICDEM 1 Low Cost PICmicro
Demonstration Board ............................................... 113
PICDEM 17 Demonstration Board ................................... 114
PICDEM 2 Low Cost PIC16CXX
Demonstration Board ............................................... 113
PICDEM 3 Low Cost PIC16CXXX
Demonstration Board ............................................... 114
PICSTART Plus Entry Level Development
Programmer ............................................................. 113
, PIE1 Register .............................................................. 10 15
, PIE2 Register .............................................................. 10 17
– Pinout Descriptions ......................................................... 5 6
, PIR1 Register ............................................................... 9 16
, PIR2 Register ............................................................... 9 18
POP ................................................................................... 20
POR. See Power-on Reset
PORTA ................................................................................ 5
Associated Registers ................................................. 30
Functions ................................................................... 30
, PORTA Register ................................................... 9 29
RA3
RA0 and RA5 Port Pins ..................................... 29
TRISA Register .......................................................... 29
PORTB ................................................................................ 6
Associated Registers ................................................. 32
Functions ................................................................... 32
, PORTB Register ................................................... 9 31
RB0/INT Pin, External ................................................ 98
RB7:RB4 Interrupt-on-Change .................................. 98
RB7:RB4 Interrupt-on-Change Enable
(RBIE Bit) ................................................... 98
RB7:RB4 Interrupt-on-Change Flag
, (RBIF Bit) ............................................ 31 98
, TRISB Register ................................................... 11 31
PORTC ................................................................................ 6
Associated Registers ................................................. 34
Functions ................................................................... 34
, PORTC Register ................................................... 9 33
TRISC Register .......................................................... 33
Power-down Mode. See SLEEP
Power-on Reset (POR) .................................. 87, 91, 92, 93
, Oscillator Start-up Timer (OST) .......................... 87 92
Power Control (PCON) Register ................................ 92
Power-down (PD Bit) ................................................. 91
, Power-up Timer (PWRT) .................................... 87 92
Time-out (TO Bit) ....................................................... 91
Time-out Sequence on Power-up .............................. 96
, PR2 Register .............................................................. 10 43
PRO MATE II Universal Device Programmer .................. 113
Program Counter
RESET Conditions ..................................................... 93
Program Memory
Interrupt Vector ............................................................ 7
Paging ....................................................................... 20
Program Memory Map and Stack ................................ 7
RESET Vector ............................................................. 7
Program Verification ........................................................ 101
Programming, Device Instructions .................................. 103
Pulse Width Modulation.See Capture/Compare/PWM,
PWM Mode.
PUSH ................................................................................ 20
PWM Mode
Setup ......................................................................... 49
R
R/W Bit .............................................................................. 59
Read/Write Bit Information (R/W) .............................. 52
R/W Bit .............................................................................. 59
RA0/AN0 Pin ....................................................................... 5
RA1/AN1 Pin ....................................................................... 5
RA2/AN2/VREF- Pin ............................................................. 5
RA3/AN3/VREF+ Pin ............................................................ 5
RA4/T0CKI Pin .................................................................... 5
RA5/SS/AN4 Pin ................................................................. 5
RAM. See Data Memory
RB0/INT Pin ........................................................................ 6
RB1 Pin ............................................................................... 6
RB2 Pin ............................................................................... 6
RB3/PGM Pin ...................................................................... 6
RB4 Pin ............................................................................... 6
RB5 Pin ............................................................................... 6
RB6/PGC Pin ...................................................................... 6
RB7/PGD Pin ...................................................................... 6
RC0/T1OSO/T1CKI Pin ....................................................... 6
RC1/T1OSI Pin .................................................................... 6
RC2/CCP1 Pin .................................................................... 6
RC3/SCK/SCL Pin ............................................................... 6
RC4/SDI/SDA Pin ................................................................ 6
RC5/SDO Pin ...................................................................... 6
RC6 Pin ............................................................................... 6
RC7 Pin ............................................................................... 6
RCEN Bit
Receive Enable Bit (RCEN) ...................................... 54
Receive Overflow Indicator Bit (SSPOV) .......................... 53
Registers
ADCON0 (A/D Control 0) Register ............................ 79
ADCON1 (A/D Control 1) Register ............................ 80
CCP1CON (CCP Control 1) Register ........................ 45
EECON1 (EEPROM Control) Register ...................... 24
INTCON Register ...................................................... 14
, OPTION_REG Register ......................................13 36
PCON (Power Control) Register ............................... 19
PIE1 (Peripheral Interrupt Enable 1) Register ........... 15
PIE2 (Peripheral Interrupt Enable 2) Register ........... 17
PIR1 (Peripheral Interrupt Request 1) Register ........ 16
PIR2 (Peripheral Interrupt Request 2) Register ........ 18
Special Function, Summary ........................................ 9
SSPCON (Sync Serial Port Control) Register ........... 53
SSPCON2 (Sync Serial Port Control 2) Register ...... 54
SSPSTAT (Sync Serial Port Status) Register ........... 52
STATUS Register ...................................................... 12
T1CON (Timer1 Control) Register ............................. 39
T2CON (Timer 2 Control) Register ............................ 43
DS30221C-page 160
© 2006 Microchip Technology Inc.