PIC12F609-H/MD MICROCHIP [Microchip Technology], PIC12F609-H/MD Datasheet - Page 205
![no-image](/images/no-image-200.jpg)
PIC12F609-H/MD
Manufacturer Part Number
PIC12F609-H/MD
Description
8-Pin, Flash-Based 8-Bit CMOS Microcontrollers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC12F609-HMD.pdf
(212 pages)
INDEX
A
A/D
Absolute Maximum Ratings .............................................. 143
AC Characteristics
ADC
ADC (PIC12F615/617/HV615 Only) ................................... 79
ADCON0 Register............................................................... 84
ADRESH Register (ADFM = 0) ........................................... 85
ADRESH Register (ADFM = 1) ........................................... 85
ADRESL Register (ADFM = 0)............................................ 85
ADRESL Register (ADFM = 1)............................................ 85
Analog Input Connection Considerations............................ 68
Analog-to-Digital Converter. See ADC
ANSEL Register (PIC12F609/HV609) ................................ 45
ANSEL Register (PIC12F615/617/HV615) ......................... 45
APFCON Register............................................................... 24
Assembler
B
Block Diagrams
2010 Microchip Technology Inc.
Specifications.................................................... 164, 165
Industrial and Extended ............................................ 156
Load Conditions ........................................................ 155
Acquisition Requirements ........................................... 86
Associated registers.................................................... 88
Block Diagram............................................................. 79
Calculating Acquisition Time....................................... 86
Channel Selection....................................................... 80
Configuration............................................................... 80
Configuring Interrupt ................................................... 83
Conversion Clock........................................................ 80
Conversion Procedure ................................................ 83
Internal Sampling Switch (R
Interrupts..................................................................... 81
Operation .................................................................... 82
Operation During Sleep .............................................. 82
Port Configuration ....................................................... 80
Reference Voltage (V
Result Formatting........................................................ 82
Source Impedance...................................................... 86
Special Event Trigger.................................................. 82
Starting an A/D Conversion ........................................ 82
MPASM Assembler................................................... 140
(CCP) Capture Mode Operation ................................. 90
ADC ............................................................................ 79
ADC Transfer Function ............................................... 87
Analog Input Model ............................................... 68, 87
Auto-Shutdown ......................................................... 101
CCP PWM................................................................... 94
Clock Source............................................................... 37
Comparator ................................................................. 67
Compare ..................................................................... 92
Crystal Operation ........................................................ 39
External RC Mode....................................................... 40
GP0 and GP1 Pins...................................................... 47
GP2 Pins..................................................................... 48
GP3 Pin....................................................................... 49
GP4 Pin....................................................................... 50
GP5 Pin....................................................................... 51
In-Circuit Serial Programming Connections.............. 125
Interrupt Logic ........................................................... 119
MCLR Circuit............................................................. 111
On-Chip Reset Circuit ............................................... 110
REF
)........................................... 80
SS
) Impedance................ 86
PIC12F609/615/617/12HV609/615
Brown-out Reset (BOR).................................................... 112
C
C Compilers
Calibration Bits.................................................................. 109
Capture Module. See Enhanced Capture/Compare/
Capture/Compare/PWM (CCP)
CCP1CON (Enhanced) Register ........................................ 89
Clock Sources
CMCON0 Register.............................................................. 72
CMCON1 Register.............................................................. 73
Code Examples
PIC12F609/12HV609 ................................................... 7
PIC12F615/617/12HV615 ............................................ 8
PWM (Enhanced) ....................................................... 97
Resonator Operation .................................................. 39
Timer1 .................................................................. 57, 58
Timer2 ........................................................................ 65
TMR0/WDT Prescaler ................................................ 53
Watchdog Timer ....................................................... 122
Associated Registers................................................ 113
Specifications ........................................................... 160
Timing and Characteristics ....................................... 159
MPLAB C18.............................................................. 140
MPLAB C30.............................................................. 140
PWM (ECCP)
Associated registers w/ Capture................................. 91
Associated registers w/ Compare............................... 93
Associated registers w/ PWM................................... 105
Capture Mode............................................................. 90
CCP1 Pin Configuration ............................................. 90
Compare Mode........................................................... 92
Prescaler .................................................................... 90
PWM Mode................................................................. 94
PWM Period ............................................................... 95
Setup for PWM Operation .......................................... 96
External Modes........................................................... 38
Internal Modes............................................................ 40
A/D Conversion .......................................................... 83
Assigning Prescaler to Timer0.................................... 54
Assigning Prescaler to WDT....................................... 54
Changing Between Capture Prescalers ..................... 90
Indirect Addressing..................................................... 25
CCP1 Pin Configuration ..................................... 92
Software Interrupt Mode ............................... 90, 92
Special Event Trigger ......................................... 92
Timer1 Mode Selection................................. 90, 92
Duty Cycle .......................................................... 95
Effects of Reset .................................................. 96
Example PWM Frequencies and
Example PWM Frequencies and
Operation in Sleep Mode.................................... 96
Setup for Operation ............................................ 96
System Clock Frequency Changes .................... 96
EC ...................................................................... 38
HS ...................................................................... 39
LP ....................................................................... 39
OST .................................................................... 38
RC ...................................................................... 40
XT ....................................................................... 39
INTOSC .............................................................. 40
INTOSCIO .......................................................... 40
Resolutions, 20 MHZ .................................. 95
Resolutions, 8 MHz .................................... 95
DS41302D-page 205