DSPIC30F6011AT-20E/PF Datasheet

  • DSPIC30F6011AT-20E/PF

  • High Performance Digital Signal Controllers

  • 3527.50KB

  • 222页

  • MICROCHIP   MICROCHIP

扫码查看芯片数据手册

上传产品规格书

PDF预览

dsPIC30F6011/6012/6013/6014
12.0
INPUT CAPTURE MODULE
The key operational features of the input capture
module are:
鈥?Simple Capture Event mode
鈥?Timer2 and Timer3 mode selection
鈥?Interrupt on input capture event
These Operating modes are determined by setting the
appropriate bits in the ICxCON register (where
x = 1,2,...,N). The dsPIC devices contain up to 8
capture channels (i.e., the maximum value of N is 8).
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 12-1
depicts a block diagram of the input capture module.
Input capture is useful for such modes as:
鈥?Frequency/Period/Pulse Measurements
鈥?Additional Sources of External Interrupts
FIGURE 12-1:
INPUT CAPTURE MODE BLOCK DIAGRAM
From GP Timer Module
T2_CNT
T3_CNT
16
16
ICTMR
ICx pin
Prescaler
1, 4, 16
3
Clock
Synchronizer
ICM<2:0>
Mode Select
ICBNE, ICOV
1
Edge
Detection
Logic
FIFO
R/W
Logic
0
ICxBUF
ICI<1:0>
ICxCON
Interrupt
Logic
Data Bus
Note:
Set Flag
ICxIF
Where 鈥榵鈥?is shown, reference is made to the registers or bits associated to the respective input capture
channels 1 through N.
12.1
Simple Capture Event Mode
12.1.1
CAPTURE PRESCALER
The simple capture events in the dsPIC30F product
family are:
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
Capture every falling edge
Capture every rising edge
Capture every 4th rising edge
Capture every 16th rising edge
Capture every rising and falling edge
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 will
be cleared. In addition, any Reset will clear the
prescaler counter.
These simple Input Capture modes are configured by
setting the appropriate bits ICM<2:0> (ICxCON<2:0>).
铮?/div>
2004 Microchip Technology Inc.
Preliminary
DS70117C-page 81

DSPIC30F6011AT-20E/PF相关型号PDF文件下载

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!