PIC12C672-04E/P Microchip Technology, PIC12C672-04E/P Datasheet - Page 206
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC12C672-04E/P
Manufacturer Part Number
PIC12C672-04E/P
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,8PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets
1.PIC16F688T-ISL.pdf
(688 pages)
2.PIC12CE673-10P.pdf
(129 pages)
3.PIC12CE673-10P.pdf
(14 pages)
Specifications of PIC12C672-04E/P
Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
8-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 206 of 688
- Download datasheet (3Mb)
PICmicro MID-RANGE MCU FAMILY
14.3
14.3.1
DS31014A-page 14-4
CCP Pin Configuration
Capture Mode
In Capture mode, CCPRxH:CCPRxL captures the 16-bit value of the TMR1 register when an
event occurs on pin CCPx. An event is defined as:
• Every falling edge
• Every rising edge
• Every 4th rising edge
• Every 16th rising edge
An event is selected by control bits CCPxM3:CCPxM0 (CCPxCON<3:0>). When a capture is
made, the interrupt request flag bit, CCPxIF, is set. The CCPxIF bit must be cleared in software.
If another capture occurs before the value in register CCPRx is read, the previous captured value
will be lost.
As can be seen in
Timer1 can also be used as the timebase for other operations. The time between two captures
can easily be computed as the difference between the value of the second capture that of the
first capture. When Timer1 overflows, the TMR1IF bit will be set and if enabled an interrupt will
occur, allowing the time base to be extended to greater than 16-bits.
In Capture mode, the CCPx pin should be configured as an input by setting its corresponding
TRIS bit.
Figure 14-1: Capture Mode Operation Block Diagram
The prescaler can be used to get a very fine average resolution on a constant input frequency.
For example, if we have a stable input frequency and we set the prescaler to 1:16, then the total
error for those 16 periods is 1 T
is 12.5 ns. This technique is only valid where the input frequency is “stable” over the 16 samples.
Without using the prescaler (1:1), each sample would have a resolution of T
Note:
Note:
Timer1 must be running in timer mode or synchronized counter mode for the CCP
module to use the capture feature. In asynchronous counter mode, the capture
operation may not work.
If the CCPx pin is configured as an output, a write to the port can cause a capture
condition.
CCPx Pin
Figure
14-1, a capture does not reset the 16-bit TMR1 register. This is so
edge detect
Q’s
Prescaler
CY
1, 4, 16
and
. This gives an effective resolution of T
CCPxCON<3:0>
Set flag bit CCPxIF
Capture
Enable
CCPRxH
TMR1H
1997 Microchip Technology Inc.
CCPRxL
TMR1L
CY
/16, which at 20 MHz
CY
.
Related parts for PIC12C672-04E/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC12C672-04/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10I/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04E/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10E/P](/photos/16/0/160065/8-pdip-angled-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04I/MF](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04E/MF](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC PIC MCU 2KX14 8DFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10E/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10I/MF](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-04I/SM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D 8-SOIJ
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672/JW](/photos/12/43/124388/pic12c672_jw_tmb.jpg)
Part Number:
Description:
IC MCU EPROM 2KX14 A/D 8CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12C672-10/P](/photos/16/0/160065/8-pdip-angled-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,8PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet: