DSPIC30F2012 Microchip Technology Inc., DSPIC30F2012 Datasheet - Page 83

no-image

DSPIC30F2012

Manufacturer Part Number
DSPIC30F2012
Description
Dspic30f2011/2012/3012/3013 High-performance Digital Signal Controllers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F2012-20E/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2012-20E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2012-20I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2012-20I/SO
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
DSPIC30F2012-20I/SO
0
Part Number:
DSPIC30F2012-20I/SP
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DSPIC30F2012-20I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
11.0
This section describes the input capture module and
associated operational modes. The features provided
by this module are useful in applications requiring fre-
quency (period) and pulse measurement.
Figure 11-1 depicts a block diagram of the input cap-
ture module. Input capture is useful for such modes as:
• Frequency/Period/Pulse Measurements
• Additional Sources of External Interrupts
Important operational features of the input capture
module are:
• Simple Capture Event mode
• Timer2 and Timer3 mode selection
• Interrupt on input capture event
FIGURE 11-1:
© 2006 Microchip Technology Inc.
Note: This data sheet summarizes features of this group
of dsPIC30F devices and is not intended to be a complete
reference source. For more information on the CPU,
peripherals, register descriptions and general device
functionality, refer to the “dsPIC30F Family Reference
Manual” (DS70046).
ICx pin
Note:
INPUT CAPTURE MODULE
Where ‘x’ is shown, reference is made to the registers or bits associated to the respective input capture
channel (1 or 2).
Prescaler
1, 4, 16
3
INPUT CAPTURE MODE BLOCK DIAGRAM
Data Bus
ICxCON
Mode Select
ICM<2:0>
ICBNE, ICOV
Synchronizer
Clock
dsPIC30F2011/2012/3012/3013
ICI<1:0>
Detection
Edge
Logic
From GP Timer Module
These operating modes are determined by setting the
appropriate bits in the IC1CON and IC2CON registers.
The dsPIC30F2011/2012/3012/3013 devices have two
capture channels.
11.1
The simple capture events in the dsPIC30F product
family are:
• Capture every falling edge
• Capture every rising edge
• Capture every 4th rising edge
• Capture every 16th rising edge
• Capture every rising and falling edge
These simple Input Capture modes are configured by
setting the appropriate bits, ICM<2:0> (ICxCON<2:0>).
11.1.1
There are four input capture prescaler settings speci-
fied by bits ICM<2:0> (ICxCON<2:0>). Whenever the
capture channel is turned off, the prescaler counter is
cleared. In addition, any Reset clears the prescaler
counter.
Interrupt
Logic
Set Flag
Set Flag
ICxIF
ICxIF
Simple Capture Event Mode
CAPTURE PRESCALER
Logic
FIFO
R/W
T2_CNT
ICxBUF
1
16
DS70139E-page 81
0
T3_CNT
16
ICTMR

Related parts for DSPIC30F2012