2011-2012 Microchip Technology Inc.
Preliminary
DS61168D-page 159
PIC32MX1XX/2XX
14.0 INPUT CAPTURE
The Input Capture module is useful in applications
requiring frequency (period) and pulse measurement.
The Input Capture module captures the 16-bit or 32-bit
value of the selected Time Base registers when an
event occurs at the ICx pin. The following events cause
capture events:
1.
Simple capture event modes
- Capture timer value on every falling edge of
input at ICx pin
- Capture timer value on every rising edge of
input at ICx pin
2.
Capture timer value on every edge (rising and
falling)
3.
Capture timer value on every edge (rising and
falling), specified edge first.
4.
Prescaler capture event modes
- Capture timer value on every 4th rising
edge of input at ICx pin
- Capture timer value on every 16th rising
edge of input at ICx pin
Each input capture channel can select between one of
two 16-bit timers (Timer2 or Timer3) for the time base,
or two 16-bit timers (Timer2 and Timer3) together to
form a 32-bit timer. The selected timer can use either
an internal or external clock.
Other operational features include:
Device wake-up from capture pin during CPU
Sleep and Idle modes
Interrupt on input capture event
4-word FIFO buffer for capture values
Interrupt optionally generated after 1, 2, 3 or 4
buffer locations are filled
Input capture can also be used to provide
additional sources of external interrupts
FIGURE 14-1:
INPUT CAPTURE BLOCK DIAGRAM
Note 1: This data sheet summarizes the features
of the PIC32MX1XX/2XX family of
devices. It is not intended to be a
comprehensive reference source. To
complement the information in this data
sheet, refer to Section 15. “Input
Capture” (DS61122) of the “PIC32
Family Reference Manual”, which is
(www.microchip.com/PIC32).
2: Some registers and associated bits
described in this section may not be
available on all devices. Refer to
this data sheet for device-specific register
and bit information.
Note: An ‘x’ in a signal, register or bit name denotes the number of the capture channel.
FIFO CONTROL
ICxBUF
TMR2 TMR3
CaptureEvent
/N
FIFO
ICI<1:0>
ICM<2:0>
101
100
011
010
001
111
To CPU
Set Flag ICxIF
(In IFSx Register)
Rising Edge Mode
Prescaler Mode
(4th Rising Edge)
Falling Edge Mode
Edge Detection
Prescaler Mode
(16th Rising Edge)
Sleep/Idle
Wake-up Mode
C32/ICTMR
ICx pin
Mode
110
Specified/Every
Edge Mode
FEDGE
相关PDF资料
PIC18LF46K80-I/ML MCU PIC ECAN 64KB FLASH 44QFN
AT89S51-24JI IC 8051 MCU 4K FLASH 44PLCC
AT89S51-24JC IC 8051 MCU 4K FLASH 44PLCC
AT89S51-24AI IC 8051 MCU 4K FLASH 44TQFP
AT89S51-24AC IC 8051 MCU 4K FLASH 44 TQFP
AT89LS52-16PI IC 8051 MCU FLASH 8K 40DIP
AT89LS52-16PC IC MCU 8K FLASH LV 16MHZ 40-DIP
AT89LS52-16JI IC 8051 MCU FLASH 8K 44PLCC
相关代理商/技术参数
PIC32MX130F064D-I/PT 功能描述:32位微控制器 - MCU 32B MCU 64KB FL 16KB RAM 40MHz 44Pin RoHS:否 制造商:Texas Instruments 核心:C28x 处理器系列:TMS320F28x 数据总线宽度:32 bit 最大时钟频率:90 MHz 程序存储器大小:64 KB 数据 RAM 大小:26 KB 片上 ADC:Yes 工作电源电压:2.97 V to 3.63 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:LQFP-80 安装风格:SMD/SMT
PIC32MX130F064D-I/TL 功能描述:32位微控制器 - MCU 32B MCU 64KB FL 16KB RAM 40MHz 44Pin RoHS:否 制造商:Texas Instruments 核心:C28x 处理器系列:TMS320F28x 数据总线宽度:32 bit 最大时钟频率:90 MHz 程序存储器大小:64 KB 数据 RAM 大小:26 KB 片上 ADC:Yes 工作电源电压:2.97 V to 3.63 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:LQFP-80 安装风格:SMD/SMT
PIC32MX130F064DT-I/ML 功能描述:32位微控制器 - MCU 32B MCU 64KB FL 16KB RAM 40MHz 44Pin RoHS:否 制造商:Texas Instruments 核心:C28x 处理器系列:TMS320F28x 数据总线宽度:32 bit 最大时钟频率:90 MHz 程序存储器大小:64 KB 数据 RAM 大小:26 KB 片上 ADC:Yes 工作电源电压:2.97 V to 3.63 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:LQFP-80 安装风格:SMD/SMT
PIC32MX130F064DT-I/PT 功能描述:32位微控制器 - MCU 32B MCU 64KB FL 16KB RAM 40MHz 44Pin RoHS:否 制造商:Texas Instruments 核心:C28x 处理器系列:TMS320F28x 数据总线宽度:32 bit 最大时钟频率:90 MHz 程序存储器大小:64 KB 数据 RAM 大小:26 KB 片上 ADC:Yes 工作电源电压:2.97 V to 3.63 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:LQFP-80 安装风格:SMD/SMT
PIC32MX130F064DT-I/TL 功能描述:32位微控制器 - MCU 32B MCU 64KB FL 16KB RAM 40MHz 44Pin RoHS:否 制造商:Texas Instruments 核心:C28x 处理器系列:TMS320F28x 数据总线宽度:32 bit 最大时钟频率:90 MHz 程序存储器大小:64 KB 数据 RAM 大小:26 KB 片上 ADC:Yes 工作电源电压:2.97 V to 3.63 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:LQFP-80 安装风格:SMD/SMT
PIC32MX130F064DT-V/ML 功能描述:32位微控制器 - MCU 32B MCU 64KB FL 16KB RAM 40MHz 44Pin RoHS:否 制造商:Texas Instruments 核心:C28x 处理器系列:TMS320F28x 数据总线宽度:32 bit 最大时钟频率:90 MHz 程序存储器大小:64 KB 数据 RAM 大小:26 KB 片上 ADC:Yes 工作电源电压:2.97 V to 3.63 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:LQFP-80 安装风格:SMD/SMT
PIC32MX130F064DT-V/PT 功能描述:32位微控制器 - MCU 32B MCU 64KB FL 16KB RAM 40MHz 44Pin RoHS:否 制造商:Texas Instruments 核心:C28x 处理器系列:TMS320F28x 数据总线宽度:32 bit 最大时钟频率:90 MHz 程序存储器大小:64 KB 数据 RAM 大小:26 KB 片上 ADC:Yes 工作电源电压:2.97 V to 3.63 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:LQFP-80 安装风格:SMD/SMT
PIC32MX130F064DT-V/TL 功能描述:32位微控制器 - MCU 32B MCU 64KB FL 16KB RAM 40MHz 44Pin RoHS:否 制造商:Texas Instruments 核心:C28x 处理器系列:TMS320F28x 数据总线宽度:32 bit 最大时钟频率:90 MHz 程序存储器大小:64 KB 数据 RAM 大小:26 KB 片上 ADC:Yes 工作电源电压:2.97 V to 3.63 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:LQFP-80 安装风格:SMD/SMT