Datasheet

V850ES/JG3 CHAPTRER 8 16-BIT TIMER/EVENT COUNTER Q (TMQ)
R01UH0015EJ0300 Rev.3.00 Page 374 of 870
Sep 30, 2010
8.5.8 Timer output operations
The following table shows the operations and output levels of the TOQ00 to TOQ03 pins.
Table 8-6. Timer Output Control in Each Mode
Operation Mode TOQ00 Pin TOQ01 Pin TOQ02 Pin TOQ03 Pin
Interval timer mode Square wave output
External event count mode Square wave output
External trigger pulse output mode
External trigger pulse
output
External trigger pulse
output
External trigger pulse
output
One-shot pulse output mode
One-shot pulse
output
One-shot pulse
output
One-shot pulse
output
PWM output mode
Square wave output
PWM output PWM output PWM output
Free-running timer mode Square wave output (only when compare function is used)
Pulse width measurement mode
Table 8-7. Truth Table of TOQ00 to TOQ03 Pins Under Control of Timer Output Control Bits
TQ0IOC0.TQ0OLm Bit TQ0IOC0.TQ0OEm Bit TQ0CTL0.TQ0CE Bit Level of TOQ0m Pin
0
×
Low-level output
0 Low-level output
0
1
1
Low level immediately before counting, high
level after counting is started
0
×
High-level output
0 High-level output
1
1
1
High level immediately before counting, low level
after counting is started
Remark m = 0 to 3