© 2007 Microchip Technology Inc. DS41211D-page 169
PIC12F683
SUBLW.....................................................................108
SUBWF.....................................................................109
SWAPF.....................................................................109
XORLW.....................................................................109
XORWF.....................................................................109
INTCON Register................................................................14
Internal Oscillator Block
INTOSC
Specifications............................................126, 127
Internal Sampling Switch (RSS) IMPEDANCE ........................67
Inter n e t Ad d ress............ ........................... .........................171
Interrupts.............................................................................92
ADC ............................................................................64
Associ a te d Re g i sters.......... ..................... ...................94
Comparator.................................................................55
Context Saving............................................................95
Data EEPROM Mem o ry Write ......... ..................... ......72
GP2/INT......................................................................92
GPIO Interrupt-on-change ..........................................93
Interrupt-on-Change....................................................32
Timer0.........................................................................93
TMR1..........................................................................46
INTOSC Specifications .............................. .... ...... .....126, 127
IOC Register.......................................................................34
L
Load Conditions...................... .. .... .. ..... .. .. .... .. .. .. .. ..... .... .. ..124
M
MCLR..................................................................................86
Internal........................................................................86
Memory Organization
Data EEPROM Mem o ry...... ..................... ...................71
Microc h i p In ternet Web Site.... ..................... .....................171
Migra tin g from other PIC De vices...... ..................... ..........165
MPLAB ASM30 Assembler, Linker, Librarian ...................112
MPLAB ICD 2 In-Circuit Debugger ...................................113
MPLAB ICE 2000 High-Perform ance Universal
In-Circuit Emulator....................................................113
MPLAB ICE 4000 High-Perform ance Universal
In-Circuit Emulator....................................................113
MPLAB Integrated Development Environment Software..111
MPLAB PM3 Device Programmer ....................................113
MPLINK Object Linker/MPLIB Object Libraria n............ ....112
O
OPCODE Fiel d Descri p tions... ........ ............... ...................101
OPTION Register..........................................................13, 43
OSCCON Register..............................................................20
Oscillator
Associ a te d registers................ ............................ ..30, 48
Oscillator Module ................................................................19
EC...............................................................................19
HFINTOSC..................................................................19
HS...............................................................................19
INTOSC ......................................................................19
INTOSCIO...................................................................19
LFINTOSC..................................................................19
LP................................................................................19
RC...............................................................................19
RCIO...........................................................................19
XT ...............................................................................19
Oscillator Parameters .......................................................126
Oscillator Specifications....................................................125
Oscillator Start-up Timer (OST)
Specifications............................................................129
Oscillator Switching
Fail-Safe Clock Monitor.............................................. 29
Two-Spe ed Clock Start-up ......................... ................ 27
OSCTUNE Regis te r.............. ............... ..................... .......... 24
P
Packaging......................................................................... 159
Details....................................................................... 160
Marking..................................................................... 159
PCL and PCLATH............................................................... 18
Computed GOTO ....................................................... 18
Stack........................................................................... 18
PCON Register............................................................. 17, 88
PICSTART Plus Development Programmer..................... 114
PIE1 Register ..................................................................... 15
Pin Diagram.......................................................................... 2
Pinout Descriptions
PIC12F683 ................................................................... 6
PIR1 Register ..................................................................... 16
Power-Down Mode (Sleep)................................................. 98
Power-On Re set (POR)................... ............... .................... 86
Power-up Timer (PWRT).................................................... 86
Specifications ........................................................... 129
Precisio n In ternal Osci lla to r Pa rameters.............. ............ 127
Prescaler
Shared WDT/Timer0....... ..................... ..................... .. 42
Switching Prescaler Assignment................................ 42
Program Mem ory O rganization. .......................................... .. 7
Map and Stack for the PIC12F683............................... 7
Programming, Device Instructions.................................... 101
R
Reader Response............................................................. 172
Read-Modify-Write Operations......................................... 101
Registers
ADCON0 (ADC Control 0)...................... .............. ...... 65
ADRESH (ADC Result High) wi th ADFM = 0)............ 66
ADRESH (ADC Result High) wi th ADFM = 1)............ 66
ADRESL (ADC Result Low) with ADFM = 0).............. 66
ADRESL (ADC Result Low) with ADFM = 1).............. 66
ANSEL (Analog Select).............................................. 33
CCP1CON (CCP1 Cont rol) ............... ............... .......... 75
CMCON0 (Comparator Control) Register................... 56
CMCON1 (Comparator Control) Register................... 57
CONFIG (Configuration Word)................................... 84
EEADR (EEPROM Address)...................................... 71
EECON1 (EEPROM Control 1 )................ ........ .......... 72
EECON2 (EEPROM Control 2 )................ ........ .......... 72
EEDAT (EEPROM Data)............................................ 71
GPIO........................................................................... 31
INTCON (Interrupt Control) ........................................ 14
IOC (Interrupt-on-Change GPIO) ............................... 34
OPTION_R EG (OPTION)..................................... 13, 43
OSCCON (Oscillator Control)..................................... 20
OSCTUNE (Oscillator Tuning)..... ............... .............. .. 24
PCON (Power Control Register)................................. 17
PCON (Power Control)............................................... 88
PIE1 (Peripheral Interrupt Enable 1) .......................... 15
PIR1 (Peripheral Interrupt Register 1)........................ 16
Reset Value s............ ..................... ........................... .. 90
Reset Values (Special Registers)............................... 91
STATUS ..................................................................... 12
T1CON ....................................................................... 47
T2CON ....................................................................... 50
TRISIO (Tri-State GPIO) ............................................ 32
VRCON (Voltage Reference Control)......................... 58