
R01UH0336EJ0102 Rev.1.02
Page 651 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 14 Timer Array Unit J (TAUJ)
(c)
Operation stop and restart
Figure 14-16
Operation Stop and Restart (TAUJnCMORm.TAUJnMD0 = 1)
• The counter can be stopped by setting TAUJnTT.TAUJnTTm to 1, which in
turn sets TAUJnTE.TAUJnTEm to 0.
• TAUJnCNTm and TAUJnTTOUTm stop but retain their values.
• The counter can be restarted by setting TAUJnTS.TAUJnTSm to 1.
(d)
Forced restart
Figure 14-17
Forced Restart Operation (TAUJnCMORm.TAUJnMD0 = 1)
• The counter can be forcibly restarted (without stopping it first) by setting
TAUJnTS.TAUJnTSm to 1 during operation.
• If the TAUJnCMORm.TAUJnMD0 bit is set to 1, the first interrupt after a start
or restart is generated.
a
a+1
Operation start
Operation start
TAUJnCNTm
(Counter)
TAUJnCDRm
TAUJnTTOUTm
INTTAUJnIm
b+1
b
TAUJnTS.TAUJnTSm
b+1
a+1
TAUJnTE.TAUJnTEm
Operation stop
a
a+1
Operation start
Forced restart
b+1
b+1
b
a+1
TAUJnCNTm
TAUJnCDRm
TAUJnTTOUTm
INTTAUJnIm
TAUJnTS.TAUJnTSm
TAUJnTE.TAUJnTEm
(Counter)