Datasheet

PIC12F683
DS41211D-page 168 © 2007 Microchip Technology Inc.
Indirect Addressing .....................................................18
Initializing GPIO ..........................................................31
Saving STATUS and W Registers in RAM .................95
Ultra Low-Power Wake-up Initialization ...................... 35
Write Verify .................................................................73
Code Protection ..................................................................99
Comparator .........................................................................51
C2OUT as T1 Gate.....................................................57
Configurations.............................................................53
I/O Operating Modes...................................................53
Interrupts.....................................................................55
Operation ..............................................................51, 54
Operation During Sleep ..............................................56
Response Time...........................................................54
Synchronizing COUT w/Timer1 ..................................57
Comparator Module
Associated registers....................................................59
Comparator Voltage Reference (CV
REF)
Response Time...........................................................54
Comparator Voltage Reference (CV
REF) ............................58
Effects of a Reset........................................................56
Specifications............................................................132
Comparators
C2OUT as T1 Gate.....................................................45
Effects of a Reset........................................................56
Specifications............................................................132
Compare Module. See Capture/Compare/PWM (CCP)
CONFIG Register................................................................84
Configuration Bits................................................................83
CPU Features .....................................................................83
Customer Change Notification Service .............................171
Customer Notification Service...........................................171
Customer Support .............................................................171
D
Data EEPROM Memory
Associated Registers ..................................................74
Code Protection ....................................................71, 74
Data Memory Organization ...................................................7
Map of the PIC12F683..................................................8
DC and AC Characteristics
Graphs and Tables ...................................................137
DC Characteristics
Extended and Industrial ............................................ 121
Industrial and Extended ............................................ 117
Development Support .......................................................111
Device Overview ...................................................................5
E
EEADR Register .................................................................71
EECON1 Register...............................................................72
EECON2 Register...............................................................72
EEDAT Register..................................................................71
EEPROM Data Memory
Avoiding Spurious Write..............................................74
Reading.......................................................................73
Write Verify .................................................................73
Writing.........................................................................73
Effects of Reset
PWM mode .................................................................80
Electrical Specifications ....................................................115
Enhanced Capture/Compare/PWM (ECCP)
Specifications............................................................131
Errata ....................................................................................3
F
Fail-Safe Clock Monitor ...................................................... 29
Fail-Safe Condition Clearing....................................... 29
Fail-Safe Detection ..................................................... 29
Fail-Safe Operation..................................................... 29
Reset or Wake-up from Sleep .................................... 29
Firmware Instructions ....................................................... 101
Fuses. See Configuration Bits
G
General Purpose Register File ............................................. 8
GPIO................................................................................... 31
Additional Pin Functions ............................................. 32
ANSEL Register ................................................. 32
Interrupt-on-Change ........................................... 32
Ultra Low-Power Wake-up............................ 32, 35
Weak Pull-up ...................................................... 32
Associated Registers.................................................. 39
GP0 ............................................................................ 36
GP1 ............................................................................ 37
GP2 ............................................................................ 37
GP3 ............................................................................ 38
GP4 ............................................................................ 38
GP5 ............................................................................ 39
Pin Descriptions and Diagrams .................................. 36
Specifications ........................................................... 127
GPIO Register .................................................................... 31
I
ID Locations........................................................................ 99
In-Circuit Debugger........................................................... 100
In-Circuit Serial Programming (ICSP)............................... 100
Indirect Addressing, INDF and FSR Registers ................... 18
Instruction Format............................................................. 101
Instruction Set................................................................... 101
ADDLW..................................................................... 103
ADDWF..................................................................... 103
ANDLW..................................................................... 103
ANDWF..................................................................... 103
BCF .......................................................................... 103
BSF........................................................................... 103
BTFSC...................................................................... 103
BTFSS...................................................................... 104
CALL......................................................................... 104
CLRF ........................................................................ 104
CLRW ....................................................................... 104
CLRWDT .................................................................. 104
COMF ....................................................................... 104
DECF........................................................................ 104
DECFSZ ................................................................... 105
GOTO....................................................................... 105
INCF ......................................................................... 105
INCFSZ..................................................................... 105
IORLW...................................................................... 105
IORWF...................................................................... 105
MOVF ....................................................................... 106
MOVLW.................................................................... 106
MOVWF.................................................................... 106
NOP.......................................................................... 106
RETFIE..................................................................... 107
RETLW..................................................................... 107
RETURN................................................................... 107
RLF........................................................................... 108
RRF .......................................................................... 108
SLEEP...................................................................... 108