EasyManua.ls Logo

Panasonic MN101L Series

Panasonic MN101L Series
563 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 9
16-bit Timer
16-bit Timer Capture Function IX - 41
Capture Count Timing with a Trigger of Both Edges of External Interrupt Signal
Figure:9.8.1 Capture Count Timing with a Trigger of External Interrupt Signal
A capture trigger is generated at the both edges of the external interrupt m input signal. Synchronizing with this
capture trigger, the value of binary counter is loaded to the input capture register.
The value loaded to the capture register is the binary counter value at the falling edge of the capture trigger. When
the specified edge is selected as the capture trigger source, the capture trigger is generated only at the specified
edge of the interrupt signal. The other count timing is the same as that of the timer operation.
..
When the binary counter is used as a free-run counter which counts from "0x0000" to
"0xFFFF", set Compare register 1 to "0xFFFF", or set the TMnMD2.TMnBCR to "0".
..
..
Even if an event occurs before the value of the input capture register is read out, the value of
the input capture register is rewritten.
..
..
A capture trigger signal is generated by sampling the external interrupt input signal at the
capture clock.
Therefore, the edge of the external interrupt input signal may not be detected when an inter-
val of interrupt input signal is shorter than capture clock cycle.
..
N
0113 0114 5555
5556
Count
clock
TMnEN
bit
Compare
register
Binary
counter
External
interrupt m
input signal
Capture
register
5557 5558 N-1
N
0000 0001 0111
0112N
0114
0000 0111
Capture
trigger
5558
5555

Table of Contents

Related product manuals