© 2009 Microchip Technology Inc. DS41291F-page 319
PIC16F882/883/884/886/887
PORTA Register.................................................................39
PORTB................................................................................47
Additional Pin Functions .............................................47
ANSELH Register...............................................47
Weak Pull-up ......................................................47
Associ a te d Re g i sters............ ..................... .................52
Interrupt-on-Change....................................................47
P1B/P1C/P1D.See Enhanced Capture/
Comp are/PWM + ( EC C P+).. ...... ...... ...... ..... ...... ...47
Pin Descriptions and Diagrams. ..................................50
RB0.............................................................................50
RB1.............................................................................50
RB2.............................................................................50
RB3.............................................................................50
RB4.............................................................................51
RB5.............................................................................51
RB6.............................................................................51
RB7.............................................................................51
PORTB Register.................................................................48
PORTC ...............................................................................53
Associ a te d Re g i sters............ ..................... .................56
P1A.See Enhanced Capture/Compare/
PWM+ (ECCP+) ................ .............. ............... ....53
RC0.............................................................................54
RC1.............................................................................54
RC2.............................................................................54
RC3.............................................................................55
RC3 Pin.....................................................................190
RC4.............................................................................55
RC5.............................................................................55
RC6.............................................................................56
RC7.............................................................................56
Specifications............................................................257
PORTC Register.................................................................53
PORTD ...............................................................................57
Associ a te d Re g i sters............ ..................... .................58
P1B/P1C/P1D.See Enhanced Capture/
Comp are/PWM + ( EC C P+).. ...... ...... ...... ..... ...... ...57
RD0, RD1, RD2, RD3, RD4................. ............... ........58
RD5.............................................................................58
RD6.............................................................................58
RD7.............................................................................58
PORTD Register.................................................................57
PORTE................................................................................59
Associ a te d Re g i sters............ ..................... .................60
RE0.............................................................................60
RE1.............................................................................60
RE2.............................................................................60
RE3.............................................................................60
PORTE Register.................................................................59
Power-Down Mode (Sleep)...............................................226
Power-on Res e t (POR)....... ..................... ............... ..........213
Power-up Timer (PWRT) .... ..................... ............... ..........213
Specifications............................................................259
Precisio n In ternal Oscilla tor Paramete rs........ ............... ....257
Prescaler
Shared WDT/Timer0............. ............... ..................... ..74
Switching Prescaler As s i g n men t....................... ..........74
Program Memory................................................................21
Map and Stack............................................................21
Map and Stack (PIC16F883/884) ...............................21
Map and Stack (PIC16F886/887) ...............................21
Programming, Device Instructions....................................231
PSTRCON Regi ster.................... ..................... .................146
Pulse Steering...................................................................146
PWM (ECCP Module)
Pulse Steering.......................................................... 146
Stee ri n g Syn chro n iz a t ion...... ...... .. ...... ..... .. ...... .. ...... . 14 8
PWM Mode. See Enh anced Captur e/Compare/ PWM...... 132
PWM1CON Register......................................................... 145
R
RCREG............................................................................. 158
RCSTA Regist e r................... ..................... ............... ........ 161
Reader Response............................................................. 324
Read-Modify-Write Operations......................................... 231
Register
RCREG Register...................................................... 167
Registers
ADCON0 (ADC Control 0)........................................ 104
ADCON1 (ADC Control 1)........................................ 105
ADRESH (ADC Result High) wi th ADFM = 0).......... 106
ADRESH (ADC Result High) wi th ADFM = 1).......... 106
ADRESL (ADC Result Low) with ADFM = 0)............ 106
ADRESL (ADC Result Low) with ADFM = 1)............ 106
ANSEL (Analog Select).............................................. 40
ANSE L H (Ana l o g Se le ct Hi g h ) ....... ...... ..... ...... ...... ..... 48
BAUDCTL (Baud Rate Control)................................ 162
CCP1CON (Enhanced CCP1 Control) ................. .... 124
CCP2CON (CCP2 Control) ...................................... 125
CM1CON0 (C1 Control) ............................................. 88
CM2CON0 (C2 Control) ............................................. 89
CM2CON1 (C2 Control) ............................................. 91
CONFIG1 (Configuration Word Register 1).............. 210
CONFIG2 (Configuration Word Register 2).............. 211
ECCPAS (Enhanced CCP Auto-shutdown Control). 142
EEADR (EEPR OM Add re ss)...... .. ...... .. ..... .. .. ...... .. .. . 112
EECON1 (EEPROM Control 1)......... ......... ........ ...... 113
EEDAT (EEPROM Data).......................................... 112
EEDA T H ( EEPRO M Dat a ) ... ...... ...... .. ..... ...... .. ...... ... 11 2
INTC ON (I n te r rupt Control) ...... ...... ...... ......... .......... ... 3 1
IOCB (Interrupt-on-Change PORTB).......................... 49
OPTION_REG (OPTION)..................................... 30, 75
OSCC ON (Osc il l a tor Con t r o l )....... ......... ...... ...... ......... 62
OSCTUNE (Oscillator Tuning ).................................. .. 66
PCON (Power Control Register)................................. 36
PCON (Power Control)............................................. 215
PIE1 (Peripheral Interrupt Enable 1) .......................... 32
PIE2 (Peripheral Interrupt Enable 2) .......................... 33
PIR1 (Peripheral Interrupt Register 1)........................ 34
PIR2 (Peripheral Interrupt Request 2)........................ 35
PORTA....................................................................... 39
PORTB....................................................................... 48
PORTC....................................................................... 53
PORTD....................................................................... 57
PORTE....................................................................... 59
PSTRCON (Pulse St eer i ng Co n trol)....... .............. .... 146
PWM1CON (Enhanced PWM Control)..................... 145
RCSTA (Receive Status and Control)...................... 161
Reset Values........ ..................... ..................... .......... 217
Rese t Val u e s ( sp e cial r e g i sters )....... ......... ...... ......... 219
Special Function Register Map
PIC16F883/884 ............................................ 23, 24
PIC16F886/887 .................................................. 25
Spec i a l Func t io n R e g i s t e r s....... ...... ...... ..... .......... ...... . 22
Special Register Summary
Bank 0 ................................................................ 26
Bank 1 ................................................................ 27
Bank 2 ................................................................ 28
Bank 3 ................................................................ 28
SRC ON (SR Lat c h C o n t r ol ).. .. ...... .. ...... ..... ...... .. ...... .. . 93