PIC16F684
Setup for Operation ............................................ 88
Shoot-through Current........................................ 85
Start-up Considerations...................................... 87
D
Data EEPROM Memory
Associated Registers ..................................................74
Code Protection .................................................... 71, 74
Data Memory.........................................................................7
DC Characteristics
Extended and Industrial ............................................134
Industrial and Extended ............................................129
Demonstration Boards
TMR2 to PR2 Match........................................... 53
Specifications ........................................................... 143
Timer Resources ........................................................ 75
Errata.................................................................................... 3
Evaluation and Programming Tools.................................. 125
F
PICDEM 1 .................................................................124
PICDEM 17 ...............................................................125
PICDEM 18R ............................................................125
PICDEM 2 Plus.........................................................124
PICDEM 3 .................................................................124
PICDEM 4 .................................................................124
PICDEM LIN .............................................................125
PICDEM USB............................................................125
PICDEM.net Internet/Ethernet ..................................124
Development Support .......................................................121
Device Overview ...................................................................5
Fail-Safe Clock Monitor ...................................................... 27
Fail-Safe Mode ........................................................... 27
Reset and Wake-up from Sleep.................................. 28
Firmware Instructions ....................................................... 111
Fuses. See Configuration Bits
G
General Purpose Register File ............................................. 8
I
ID Locations...................................................................... 108
In-Circuit Debugger........................................................... 109
In-Circuit Serial Programming (ICSP)............................... 108
Indirect Addressing, INDF and FSR registers..................... 17
Instruction Format............................................................. 111
Instruction Set................................................................... 111
ADDLW..................................................................... 113
ADDWF..................................................................... 113
ANDLW..................................................................... 113
ANDWF..................................................................... 113
BCF .......................................................................... 113
BSF........................................................................... 113
BTFSC...................................................................... 113
BTFSS ...................................................................... 114
CALL......................................................................... 114
CLRF ........................................................................ 114
CLRW ....................................................................... 114
CLRWDT .................................................................. 114
COMF ....................................................................... 114
DECF........................................................................ 114
DECFSZ ................................................................... 115
GOTO ....................................................................... 115
INCF ......................................................................... 115
INCFSZ..................................................................... 115
IORLW...................................................................... 115
IORWF...................................................................... 115
MOVF ....................................................................... 116
MOVLW .................................................................... 116
MOVWF.................................................................... 116
NOP.......................................................................... 116
RETFIE..................................................................... 117
RETLW ..................................................................... 117
RETURN................................................................... 117
RLF........................................................................... 118
RRF .......................................................................... 118
SLEEP ...................................................................... 118
SUBLW..................................................................... 118
SUBWF..................................................................... 119
SWAPF..................................................................... 119
XORLW .................................................................... 119
XORWF .................................................................... 119
Summary Table ........................................................ 112
INTCON Register................................................................ 13
Internal Oscillator Block
E
ECCP. See Enhanced Capture/Compare/PWM (ECCP)
ECCPAS Register...............................................................86
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
Electrical Specifications ....................................................127
Enhanced Capture/Compare/PWM (ECCP) .......................75
Associated registers....................................................89
Associated registers w/ Capture/Compare/Timer1 .....77
Capture Mode .............................................................76
Prescaler.............................................................76
CCP1 Pin Configuration..............................................76
Compare Mode ...........................................................77
CCP1 Pin Configuration......................................77
Software Interrupt Mode .....................................77
Special Event Trigger and A/D Conversions.......77
Special Trigger Output........................................77
Timer1 Mode Selection.......................................77
Enhanced PWM Mode ................................................78
Auto-restart .........................................................87
Auto-shutdown.............................................. 85, 87
Direction Change in Full-Bridge Output Mode ....83
Duty Cycle...........................................................79
Effects of Reset...................................................88
Example PWM Frequencies and Resolutions.....79
Full-Bridge Application Example.........................83
Full-Bridge Mode.................................................82
Half-Bridge Application Examples.......................81
Half-Bridge Mode................................................81
Operation in Power Managed Modes .................88
Operation with Fail-Safe Clock Monitor ..............88
Output Configurations.........................................78
Output Relationships (Active-High and Active-Low)
80
Output Relationships Diagram............................80
Period..................................................................79
Programmable Dead Band Delay .......................85
INTOSC
Specifications ................................................... 138
DS41202C-page 156
Preliminary
2004 Microchip Technology Inc.