387
16-bit Timer/Event Counter P (TMP)
Chapter 11
Preliminary User’s Manual U17566EE1V2UM00
11.5.4
One-shot pulse output mode (TPnMD2 to TPnMD0 = 011)
In the one-shot pulse output mode, 16-bit timer/event counter P waits for a
trigger when the TPnCTL0.TPnCE bit is set to 1. When the valid edge of an
external trigger input is detected, 16-bit timer/event counter P starts counting,
and outputs a one-shot pulse from the TOPn1 pin.
Instead of the external trigger, a software trigger can also be generated to
output the pulse. When the software trigger is used, the TOPn0 pin outputs the
active level while the 16-bit counter is counting, and the inactive level when the
counter is stopped (waiting for a trigger).
Figure 11-18
Configuration in one-shot pulse output mode
CCR0
bu
ffer regi
s
ter
TPnCE
b
it
TPnCCR0 regi
s
ter
TPnCCR1 regi
s
ter
CCR1
bu
ffer regi
s
ter
Cle
a
r
M
a
tch
s
ign
a
l
M
a
tch
s
ign
a
l
INTTPnCC0
s
ign
a
l
O
u
tp
u
t
controller
(R
S
-FF)
TOPn1 pin
INTTPnCC1
s
ign
a
l
TOPn0 pin
Co
u
nt clock
s
election
Co
u
nt
s
t
a
rt
control
Edge
detector
S
oftw
a
re trigger
gener
a
tion
TIPn0 pin
Tr
a
n
s
fer
Tr
a
n
s
fer
S
R
O
u
tp
u
t
controller
(R
S
-FF)
S
R
16-
b
it co
u
nter
electronic components distributor