Chapter 36 Input Capture
1. Overview
Input Capture records the free-run timer count value using timing detected from an external signal. It is then
possible to calculate the time between signals using the record of the repeated count.
2. Features
• Format: Edge detection circuit + 16 bit buffer (capture register)
• Quantity: 4 groups = 8 channels (input capture channels 0/1, 2/3, 4/5, 6/7)
• Compatible timers:
• Edge Detection: Rising/falling/both edges
• Interrupt: Edge detection
• Capture value: Timer count value (0000
• Timer: Uses free-run timer 0
• Precision: 4/F
CLKP
Captured signal
Free-run
timer
count value
Buffer value
pin
Edge
detection
circuit
Input capture channels 0/1 use free-run timer 0
Input capture channels 2/3 use free-run timer 1
Input capture channels 4/5 use free-run timer 4
Input capture channels 6/7 use free-run timer 5
-FFFF
H
, 16/F
, 32/F
, 64/F
CLKP
CLKP
A
A
Free-run timer 0
Capture
Buffer
)
H
(Free-run timer count clock)
CLKP
A
A
Chapter 36 Input Capture
1.Overview
t
747