English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (310/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 6 TIMER ARRAY UNIT
6.4.4 Collective manipulation of TOpq bits
In the TOp register, the setting bits for all the channels are located in one register in the same way as the TSp register
(channel start trigger). Therefore, TOpq of all the channels can be manipulated collectively. Only specific bits can also be
manipulated by setting the corresponding TOEpq = 0 to a target TOpq (channel output).
Figure 6-32. Example of TO0q Bits Collective Manipulation
Before writing
TO0
0
0
0
0
0
0
0
0 TO07 TO06 TO05 TO04 TO03 TO02 TO01 TO00
0
0
1
0
0
0
1
0
TOE0
0
0
0
0
0
0
0
0 TOE07 TOE06 TOE05 TOE04 TOE03 TOE02 TOE01 TOE00
0
0
1
0
1
1
1
1
Data to be written
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
1
After writing
OO×O×× × ×
TO0
0
0
0
0
0
0
0
0 TO07 TO06 TO05 TO04 TO03 TO02 TO01 TO00
1
1
1
0
0
0
1
0
Writing is done only to TOpq bits with TOEpq = 0, and writing to TOpq bits with TOEpq = 1 is ignored.
TOpq (channel output) to which TOEpq = 1 is set is not affected by the write operation. Even if the write operation is
done to TOpq, it is ignored and the output change by timer operation is normally done.
Figure 6-33. TOpq Pin Statuses by Collective Manipulation of TOpq Bits
TO07
TO06
TO05
TO04
TO03
TO02
TO01
TO00
Before writing Writing to TOp register
(Caution and Remark are given on the next page.)
Two or more TOpq output can
be changed simultaneously
Output does not change
when value does not
change
Writing to TOp bit
is ignored when TOEpq
=1
R01UH0004EJ0501 Rev.5.01
294
Jun 20, 2011