PIC16F684-I/P Microchip Technology Inc., PIC16F684-I/P Datasheet - Page 184
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F684-I/P
Manufacturer Part Number
PIC16F684-I/P
Description
14 PIN, 3.5 KB FLASH, 128 RAM, 12 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F684-IP.pdf
(192 pages)
Specifications of PIC16F684-I/P
A/d Inputs
8-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
12
Memory Type
Flash
Number Of Bits
8
Package Type
14-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F684-I/P
Manufacturer:
ANPEC
Quantity:
12 000
Part Number:
PIC16F684-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F684
CMCON1 Register .............................................................. 63
Code Examples
Code Protection ................................................................ 115
Comparator ......................................................................... 56
Comparator Module
Comparator Voltage Reference (CV
Comparator Voltage Reference (CV
Comparators
Compare Module. See Enhanced
CONFIG Register.............................................................. 100
Configuration Bits................................................................ 99
CPU Features ..................................................................... 99
Customer Change Notification Service ............................. 189
Customer Notification Service........................................... 189
Customer Support ............................................................. 189
D
Data EEPROM Memory
Data Memory......................................................................... 7
DC and AC Characteristics
DC Characteristics
Development Support ....................................................... 127
Device Overview ................................................................... 5
E
ECCP. See Enhanced Capture/Compare/PWM
ECCPAS Register ............................................................... 95
EEADR Register ................................................................. 77
EECON1 Register ............................................................... 78
EECON2 Register ............................................................... 78
EEDAT Register.................................................................. 77
EEPROM Data Memory
DS41202D-page 182
A/D Conversion ........................................................... 71
Assigning Prescaler to Timer0 .................................... 44
Assigning Prescaler to WDT ....................................... 44
Changing Between Capture Prescalers ...................... 82
Data EEPROM Read .................................................. 79
Data EEPROM Write .................................................. 79
Indirect Addressing ..................................................... 19
Initializing PORTA ....................................................... 31
Initializing PORTC....................................................... 40
Saving Status and W Registers in RAM ................... 111
Ultra Low-Power Wake-Up Initialization...................... 34
Write Verify ................................................................. 79
C2OUT as T1 Gate ..................................................... 63
Configurations ............................................................. 59
Interrupts ..................................................................... 60
Operation .................................................................... 60
Operation During Sleep .............................................. 61
Overview ..................................................................... 56
Response Time ........................................................... 60
Synchronizing COUT w/Timer1 .................................. 63
Associated Registers .................................................. 65
Response Time ........................................................... 60
Effects of a Reset........................................................ 61
Specifications ............................................................ 148
C2OUT as T1 Gate ..................................................... 49
Effects of a Reset........................................................ 61
Specifications ............................................................ 148
Capture/Compare/PWM (ECCP)
Associated Registers .................................................. 80
Code Protection .................................................... 77, 80
Graphs and Tables ................................................... 153
Extended and Industrial ............................................ 137
Industrial and Extended ............................................ 133
Avoiding Spurious Write.............................................. 80
REF
REF
)
) ............................ 64
Effects of Reset
Electrical Specifications .................................................... 131
Enhanced Capture/Compare/PWM .................................... 81
Enhanced Capture/Compare/PWM (ECCP)
Errata .................................................................................... 4
F
Fail-Safe Clock Monitor ...................................................... 29
Firmware Instructions ....................................................... 117
Fuses. See Configuration Bits
G
General Purpose Register File ............................................. 8
I
ID Locations...................................................................... 115
In-Circuit Debugger........................................................... 116
In-Circuit Serial Programming (ICSP)............................... 116
Indirect Addressing, INDF and FSR registers..................... 19
Instruction Format............................................................. 117
Instruction Set................................................................... 117
Reading ...................................................................... 79
Write Verify ................................................................. 79
Writing ........................................................................ 79
PWM mode ................................................................. 86
Enhanced PWM Mode................................................ 87
Specifications ........................................................... 147
Timer Resources ........................................................ 81
Fail-Safe Condition Clearing....................................... 29
Fail-Safe Detection ..................................................... 29
Fail-Safe Operation..................................................... 29
Reset or Wake-up from Sleep .................................... 29
ADDLW..................................................................... 119
ADDWF..................................................................... 119
ANDLW..................................................................... 119
ANDWF..................................................................... 119
BCF .......................................................................... 119
BSF........................................................................... 119
BTFSC ...................................................................... 119
BTFSS ...................................................................... 120
CALL......................................................................... 120
CLRF ........................................................................ 120
CLRW ....................................................................... 120
CLRWDT .................................................................. 120
COMF ....................................................................... 120
DECF ........................................................................ 120
DECFSZ ................................................................... 121
GOTO ....................................................................... 121
INCF ......................................................................... 121
INCFSZ..................................................................... 121
IORLW ...................................................................... 121
IORWF...................................................................... 121
Auto-Restart ....................................................... 96
Auto-shutdown.................................................... 95
Direction Change in Full-Bridge Output Mode.... 93
Full-Bridge Application........................................ 91
Full-Bridge Mode ................................................ 91
Half-Bridge Application ....................................... 90
Half-Bridge Application Examples ...................... 97
Half-Bridge Mode................................................ 90
Output Relationships (Active-High and
Output Relationships Diagram............................ 89
Programmable Dead-Band Delay....................... 97
Shoot-through Current ........................................ 97
Start-up Considerations ...................................... 94
Active-Low)................................................. 88
© 2006 Microchip Technology Inc.