
R01UH0336EJ0102 Rev.1.02
Page 489 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 13 Timer Array Unit B (TAUB)
(6)
Operating procedure for simultaneous rewrite trigger generation
function type 1
Table 13-53
Operating Procedure for Simultaneous Rewrite Trigger Generation
Function Type 1
Operation
TAUBn Status
Initial
Ch
ann
el
Setti
n
g
Set TAUBnCMORm and TAUBnCMURm
registers for the upper channel as described in
Table 13-49, TAUBnCMORm Settings for
Simultaneous Rewrite Trigger Generation
Function Type 1
,
TAUBnCMURm Settings for Simultaneous
Rewrite Trigger Generation Function Type 1
.
Set TAUBnCMORm and TAUBnCMURm
registers for lower channels as described in (5)
Register settings for lower channels.
Set the value of TAUBnCDRm register.
Channel operation is stopped.
S
tart Ope
ration
Set TAUBnTS.TAUBnTSm to 1.
TAUBnTS.TAUBnTSm is a trigger bit, which is
automatically cleared to 0.
TAUBnTE.TAUBnTEm is set to 1 and the counter
starts.
TAUBnCDRm value is loaded into TAUBnCNTm.
If TAUBnCMORm.TAUBnMD0 = 1, INTTAUBnIm
occurs.
Du
ri
ng Op
eration
TAUBnRDT.TAUBnRDTm and
TAUBnCDR.CDRm is changeable.
TAUBnRSF.TAUBnRSFm can be always read.
TAUBnCNTm counts down. When the counter
reaches 0000
H
:
•
The TAUBnCDRm value is reloaded into
TAUBnCNTm to continue count operation.
•
INTTAUBnIm occurs.
If INTAUBnlm occurs on the channel where
TAUBnRDC.TAUBnRDCm is set to 1,
simultaneous rewrite is controlled.
Afterwards, this procedure is repeated.
S
top Operatio
n
Set TAUBnTT.TAUBnTTm to 1.
TAUBnTT.TAUBnTTm is a trigger bit, which is
automatically cleared to 0.
TAUBnTE.TAUBnTEm is cleared to 0 and the
counter stops.
TAUBnCNTm stops and retains its current value.
Rest
ar
t