English
Language : 

PIC16F631 Datasheet, PDF (288/294 Pages) Microchip Technology – 20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F631/677/685/687/689/690
O
OPCODE Field Descriptions ............................................. 213
OPTION Register .......................................................... 37, 83
OSCCON Register .............................................................. 48
Oscillator
Associated registers.............................................. 58, 89
Oscillator Module ................................................................ 47
EC ............................................................................... 47
HFINTOSC.................................................................. 47
HS ............................................................................... 47
INTOSC ...................................................................... 47
INTOSCIO................................................................... 47
LFINTOSC .................................................................. 47
LP................................................................................ 47
RC ............................................................................... 47
RCIO ........................................................................... 47
XT ............................................................................... 47
Oscillator Parameters........................................................ 239
Oscillator Specifications .................................................... 238
Oscillator Start-up Timer (OST)
Specifications ............................................................ 242
Oscillator Switching
Fail-Safe Clock Monitor............................................... 57
Two-Speed Clock Start-up .......................................... 55
OSCTUNE Register ............................................................ 52
P
P (Stop) bit ........................................................................ 176
P1A/P1B/P1C/P1D.See Enhanced Capture/
Compare/PWM (ECCP) ............................................ 133
Packaging ......................................................................... 275
Marking ..................................................................... 275
PDIP Details.............................................................. 276
PCL and PCLATH ............................................................... 44
Stack ........................................................................... 44
PCON Register ........................................................... 43, 199
PICkit 2 Development Programmer .................................. 226
PICSTART Plus Development Programmer ..................... 226
PIE1 Register ...................................................................... 39
PIE2 Register ...................................................................... 40
Pin Diagram ...................................................... 2, 3, 4, 5, 6, 7
PIR1 Register...................................................................... 41
PIR2 Register...................................................................... 42
PORTA
Additional Pin Functions ............................................. 60
ANSEL Register.................................................. 60
ANSELH Register ............................................... 60
Interrupt-on-Change............................................ 60
Ultra Low-Power Wake-up ............................ 60, 63
Weak Pull-Up ...................................................... 60
Associated Registers .................................................. 68
Pin Descriptions and Diagrams................................... 64
RA0 ............................................................................. 64
RA1 ............................................................................. 65
RA2 ............................................................................. 65
RA3 ............................................................................. 66
RA4 ............................................................................. 66
RA5 ............................................................................. 67
Registers ..................................................................... 59
Specifications ............................................................ 240
PORTA Register ................................................................. 59
PORTB
Additional Pin Functions ............................................. 69
Weak Pull-Up ...................................................... 69
Associated Registers .................................................. 75
DS41262D-page 286
Interrupt-on-change .................................................... 69
Pin Descriptions and Diagrams .................................. 71
RB4............................................................................. 71
RB5............................................................................. 72
RB6............................................................................. 73
RB7............................................................................. 74
Registers .................................................................... 69
PORTB Register ................................................................. 69
PORTC ............................................................................... 76
Associated registers ................................................... 80
P1A/P1B/P1C/P1D.See Enhanced Capture/
Compare/PWM+ (ECCP+) ................................. 76
RC0 ............................................................................ 77
RC1 ............................................................................ 77
RC2 ............................................................................ 77
RC3 ............................................................................ 77
RC4 ............................................................................ 78
RC5 ............................................................................ 78
RC6 ............................................................................ 79
RC7 ............................................................................ 79
Registers .................................................................... 76
Specifications ........................................................... 240
PORTC Register................................................................. 76
Power-Down Mode (Sleep)............................................... 210
Power-on Reset (POR)..................................................... 197
Power-up Timer (PWRT) .................................................. 197
Specifications ........................................................... 242
Prescaler
Shared WDT/Timer0................................................... 82
Switching Prescaler Assignment ................................ 82
Program Memory ................................................................ 25
Map and Stack...................................................... 25, 26
Programming, Device Instructions .................................... 213
PSTRCON Register.......................................................... 145
Pulse Steering .................................................................. 145
PWM (ECCP Module)
Pulse Steering .......................................................... 145
Steering Synchronization.......................................... 147
PWM Mode. See Enhanced Capture/Compare/PWM ...... 133
PWMxCON Register ......................................................... 144
R
R/W bit .............................................................................. 176
RCREG............................................................................. 156
RCSTA Register ............................................................... 159
Reader Response............................................................. 290
Read-Modify-Write Operations ......................................... 213
Receive Overflow Indicator bit (SSPOV) .......................... 177
Register
RCREG Register ...................................................... 165
Registers
ADCON0 (ADC Control 0) ........................................ 113
ADCON1 (ADC Control 1) ........................................ 114
ADRESH (ADC Result High) with ADFM = 0) .......... 115
ADRESH (ADC Result High) with ADFM = 1) .......... 115
ADRESL (ADC Result Low) with ADFM = 0)............ 115
ADRESL (ADC Result Low) with ADFM = 1)............ 115
ANSEL (Analog Select) .............................................. 61
ANSELH (Analog Select High) ................................... 61
BAUDCTL (Baud Rate Control) ................................ 160
CCPxCON (Enhanced CCPx Control)...................... 127
CM1CON0 (C1 Control).............................................. 98
CM2CON0 (C2 Control).............................................. 99
CM2CON1 (C2 Control)............................................ 101
CONFIG (Configuration Word) ................................. 195
ECCPAS (Enhanced CCP Auto-shutdown Control) . 141
© 2007 Microchip Technology Inc.