English
Language : 

PIC16F882 Datasheet, PDF (281/288 Pages) Microchip Technology – 28/40/44-Pin, Enhanced Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F882/883/884/886/887
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..................................................................... 186
RC4............................................................................. 55
RC5............................................................................. 55
RC6............................................................................. 56
RC7............................................................................. 56
Specifications............................................................ 251
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) ............................................... 222
Power-on Reset (POR) ..................................................... 209
Power-up Timer (PWRT) .................................................. 209
Specifications............................................................ 253
Precision Internal Oscillator Parameters........................... 251
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 .................................... 225
PSTRCON Register .......................................................... 145
Pulse Steering................................................................... 145
PWM (ECCP Module)
Pulse Steering........................................................... 145
Steering Synchronization .......................................... 147
PWM Mode. See Enhanced Capture/Compare/PWM ...... 132
PWM1CON Register......................................................... 144
R
RCREG............................................................................. 156
RCSTA Register ............................................................... 159
Reader Response............................................................. 284
Read-Modify-Write Operations ......................................... 225
Register
RCREG Register ...................................................... 165
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)................................ 160
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).............. 206
CONFIG2 (Configuration Word Register 2).............. 207
ECCPAS (Enhanced CCP Auto-shutdown Control) . 141
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) ............................................. 211
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)......................... 145
PWM1CON (Enhanced PWM Control) ..................... 144
RCSTA (Receive Status and Control) ...................... 159
Reset Values ............................................................ 213
Reset Values (special registers)............................... 215
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
SSPCON (MSSP Control 1) ..................................... 177
SSPCON2 (SSP Control 2) ...................................... 178
SSPMSK (SSP Mask) .............................................. 204
SSPSTAT (SSP Status) ........................................... 176
© 2007 Microchip Technology Inc.
Preliminary
DS41291D-page 279