
R01UH0336EJ0102 Rev.1.02
Page 439 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 13 Timer Array Unit B (TAUB)
(c)
Operation stop and restart
Figure 13-21
Operation Stop and Restart (TAUBnCMORm.TAUBnMD0 = 1)
• The counter can be stopped by setting TAUBnTT.TAUBnTTm to 1. This sets
TAUBnTE.TAUBnTEm to 0.
• TAUBnCNTm and TAUBnTTOUTm stop but retain their values.
• The counter can be restarted by setting TAUBnTS.TAUBnTSm to 1.
(d)
Forced restart
Figure 13-22
Forced Restart Operation (TAUBnCMORm.TAUBnMD0 = 1)
• The counter can be forcibly restarted (without stopping it first) by setting
TAUBnTS.TAUBnTSm to 1 during operation.
• If the TAUBnCMORm.TAUBnMD0 bit is set to 1, the first interrupt after a
start or restart is generated.
a
a + 1
Operation start
Operation start
TAUBnCNTm
(Counter)
TAUBnCDRm
TAUBnTTOUTm
INTTAUBnIm
b + 1
b
TAUBnTS.TAUBnTSm
b + 1
a + 1
TAUBnTE.TAUBnTEm
Operation stop
a
a + 1
Operation start
Forced restart
b + 1
b + 1
b
a + 1
TAUBnCNTm
TAUBnCDRm
TAUBnTTOUTm
INTTAUBnIm
TAUBnTS.TAUBnTSm
TAUBnTE.TAUBnTEm
(counter)