CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Preliminary User’s Manual U19014EJ1V0UD
162
Figure 6-45. Example of Software Processing for One-Shot Pulse Output Operation (1/2)
FFFFH
TM00 register
0000H
Operable bits
(TMC003, TMC002)
One-shot pulse enable bit
(OSPE00)
One-shot pulse trigger bit
(OSPT00)
One-shot pulse trigger input
(TI000 pin)
Overflow plug
(OVF00)
Compare register
(CR000)
Compare match interrupt
(INTTM000)
Compare register
(CR010)
Compare match interrupt
(INTTM010)
TO00 pin output
TO00 output control bits
(TOE00, TOC004, TOC001)
N
M
N
−
M
N
−
M
01 or 10
00
00
N
N
N
M
M
M
M + 1
M + 1
<1> <2>
<2>
<3>
TO00 output level is not
inverted because no one-
shot trigger is input.
•
Time from when the one-shot pulse trigger is input until the one-shot pulse is output
= (M + 1)
×
Count clock cycle
•
One-shot pulse output active level width
= (N
−
M)
×
Count clock cycle
electronic components distributor