Datasheet
© 2007 Microchip Technology Inc. DS41232D-page 229
PIC12F635/PIC16F636/639
Internal Oscillator Block
INTOSC
Specifications............................................ 180, 181
Internet Address................................................................ 223
Interrupts...........................................................................139
Associated Registers ................................................141
Comparator.................................................................77
Context Saving.......................................................... 142
Data EEPROM Memory Write ....................................92
Interrupt-on-Change.................................................... 50
PORTA Interrupt-on-change..................................... 140
RA2/INT .................................................................... 139
Timer0.......................................................................140
TMR1 .......................................................................... 67
INTOSC Specifications ............................................. 180, 181
IOCA Register..................................................................... 50
K
KEELOQ ............................................................................... 95
L
Load Conditions ................................................................ 178
M
MCLR................................................................................132
Internal...................................................................... 132
Memory Organization.......................................................... 17
Data ............................................................................ 17
Data EEPROM Memory.............................................. 91
Program ......................................................................17
Microchip Internet Web Site.............................................. 223
MPLAB ASM30 Assembler, Linker, Librarian ................... 160
MPLAB ICD 2 In-Circuit Debugger ................................... 161
MPLAB ICE 2000 High-Performance Universal
In-Circuit Emulator ....................................................161
MPLAB Integrated Development Environment Software .. 159
MPLAB PM3 Device Programmer ....................................161
MPLAB REAL ICE In-Circuit Emulator System.................161
MPLINK Object Linker/MPLIB Object Librarian ................ 160
O
OPCODE Field Descriptions.............................................149
OPTION Register................................................................ 27
OPTION_REG Register...................................................... 63
OSCCON Register..............................................................36
Oscillator
Associated registers..............................................46, 69
Oscillator Module ................................................................ 35
EC...............................................................................35
HFINTOSC.................................................................. 35
HS...............................................................................35
INTOSC ...................................................................... 35
INTOSCIO...................................................................35
LFINTOSC ..................................................................35
LP................................................................................35
RC............................................................................... 35
RCIO........................................................................... 35
XT ...............................................................................35
Oscillator Parameters .......................................................180
Oscillator Specifications....................................................179
Oscillator Start-up Timer (OST)
Specifications............................................................ 183
Oscillator Switching
Fail-Safe Clock Monitor...............................................45
Two-Speed Clock Start-up.......................................... 43
OSCTUNE Register............................................................40
P
Packaging......................................................................... 211
Details....................................................................... 213
Marking..................................................................... 211
PCL and PCLATH............................................................... 32
Stack........................................................................... 32
PCON Register................................................................... 31
PICSTART Plus Development Programmer..................... 162
PIE1 Register ..................................................................... 29
Pin Diagrams............................................................ 3, 4, 5, 6
Pinout Descriptions
PIC12F635 ................................................................. 12
PIC16F636 ................................................................. 13
PIC16F639 ................................................................. 14
PIR1 Register ..................................................................... 30
PLVD
Associated Registers.................................................. 89
PORTA ............................................................................... 47
Additional Pin Functions............................................. 47
Interrupt-on-Change ........................................... 50
Ultra Low-Power Wake-up............................ 47, 51
Weak Pull-down.................................................. 47
Weak Pull-up...................................................... 47
Associated Registers.................................................. 56
Pin Descriptions and Diagrams .................................. 52
RA0/C1IN+/ICSPDAT/ULPWU Pin............................. 52
RA1/C1IN-/Vref/ICSPCLK Pin.................................... 53
RA2/T0CKI/INT/C1OUT Pin ....................................... 53
RA3/MCLR
/VPP PIN.................................................... 54
RA4/T1G
/OSC2/CLKOUT Pin.................................... 55
RA5/T1CKI/OSC1/CLKIN Pin..................................... 55
Specifications ........................................................... 181
PORTA Register................................................................. 48
PORTC............................................................................... 57
Associated Registers.................................................. 59
RC0/C2IN+ Pin........................................................... 58
RC2 Pin ...................................................................... 58
RC3 Pin ...................................................................... 58
RC4/C2OUT Pin......................................................... 59
RC5 Pin ...................................................................... 58
Specifications ........................................................... 181
PORTC Register................................................................. 57
Power Control (PCON) Register....................................... 135
Power-Down Mode (Sleep)............................................... 145
Power-on Reset................................................................ 132
Power-up Timer (PWRT).................................................. 132
Specifications ........................................................... 183
Precision Internal Oscillator Parameters .......................... 181
Prescaler
Shared WDT/Timer0................................................... 62
Switching Prescaler Assignment ................................ 62
Product Identification ........................................................ 231
Program Memory................................................................ 17
Program Memory Map and Stack
PIC12F635 ................................................................. 17
PIC16F636/639 .......................................................... 17
Programmable Low-Voltage Detect (PLVD) Module .......... 87
Programming, Device Instructions.................................... 149
R
Reader Response............................................................. 224
Read-Modify-Write Operations ......................................... 149
Registers
Analog Front-End (AFE)
AFE STATUS Register 7.................................. 127