English
Language : 

PIC16F882-I Datasheet, PDF (321/328 Pages) Microchip Technology – 28/40/44-Pin, Enhanced Flash-Based 8-Bit CMOS Microcontrollers
PIC16F882/883/884/886/887
PORTA Register ................................................................. 39
PORTB................................................................................ 47
Additional Pin Functions ............................................. 47
ANSELH Register ............................................... 47
Weak Pull-up ...................................................... 47
Associated Registers .................................................. 52
Interrupt-on-Change.................................................... 47
P1B/P1C/P1D.See Enhanced Capture/
Compare/PWM+ (ECCP+).................................. 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
Associated Registers .................................................. 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
Associated Registers .................................................. 58
P1B/P1C/P1D.See Enhanced Capture/
Compare/PWM+ (ECCP+).................................. 57
RD0, RD1, RD2, RD3, RD4 ........................................ 58
RD5............................................................................. 58
RD6............................................................................. 58
RD7............................................................................. 58
PORTD Register ................................................................. 57
PORTE................................................................................ 59
Associated Registers .................................................. 60
RE0 ............................................................................. 60
RE1 ............................................................................. 60
RE2 ............................................................................. 60
RE3 ............................................................................. 60
PORTE Register ................................................................. 59
Power-Down Mode (Sleep) ............................................... 226
Power-on Reset (POR) ..................................................... 213
Power-up Timer (PWRT) .................................................. 213
Specifications............................................................ 259
Precision Internal Oscillator Parameters........................... 257
Prescaler
Shared WDT/Timer0 ................................................... 74
Switching Prescaler Assignment................................. 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 Register .......................................................... 146
Pulse Steering................................................................... 146
© 2009 Microchip Technology Inc.
PWM (ECCP Module)
Pulse Steering .......................................................... 146
Steering Synchronization.......................................... 148
PWM Mode. See Enhanced Capture/Compare/PWM ...... 132
PWM1CON Register......................................................... 145
R
RCREG............................................................................. 158
RCSTA Register ............................................................... 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) with ADFM = 0) .......... 106
ADRESH (ADC Result High) with ADFM = 1) .......... 106
ADRESL (ADC Result Low) with ADFM = 0)............ 106
ADRESL (ADC Result Low) with ADFM = 1)............ 106
ANSEL (Analog Select) .............................................. 40
ANSELH (Analog Select High) ................................... 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 (EEPROM Address) .................................... 112
EECON1 (EEPROM Control 1) ................................ 113
EEDAT (EEPROM Data) .......................................... 112
EEDATH (EEPROM Data) ....................................... 112
INTCON (Interrupt Control) ........................................ 31
IOCB (Interrupt-on-Change PORTB).......................... 49
OPTION_REG (OPTION)..................................... 30, 75
OSCCON (Oscillator Control)..................................... 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 Steering Control)......................... 146
PWM1CON (Enhanced PWM Control) ..................... 145
RCSTA (Receive Status and Control) ...................... 161
Reset Values ............................................................ 217
Reset Values (special registers)............................... 219
Special Function Register Map
PIC16F883/884 ............................................ 23, 24
PIC16F886/887 .................................................. 25
Special Function Registers......................................... 22
Special Register Summary
Bank 0 ................................................................ 26
Bank 1 ................................................................ 27
Bank 2 ................................................................ 28
Bank 3 ................................................................ 28
SRCON (SR Latch Control)........................................ 93
DS41291F-page 319