English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (317/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 6 TIMER ARRAY UNIT
Figure 6-39. Example of Set Contents of Registers During Operation as Interval Timer/Square Wave Output (1/3)
(1) When CKm0 or CKm1 is selected as count clock
(a) Timer mode register mn (TMRmn)
15 14 13 12 11 10 9
8
7
6
5
TMRmn CKSmn
1/0 0
MAS
CCSmn
STSmn2 STSmn1 STSmn0 CISmn1 CISmn0
TERmn
0
0
0
0
0
0
0
0
0
4
3
2
1
0
MDmn3 MDmn2 MDmn1 MDmn0
0
0
0
0 1/0
Operation mode of channel n
000B: Interval timer
Setting of operation when counting is started
0: Neither generates INTTMmn nor inverts
timer output when counting is started.
1: Generates INTTMmn and inverts timer
output when counting is started.
Selection of edge of timer input
00B: Sets 00B because these are not used.
Start trigger selection
000B: Selects only software start.
Slave/master selection
0: Cleared to 0 when independent function is selected.
Count clock selection
0: Selects operation clock.
Operation clock selection
0: Selects CKm0 as operation clock of channel n.
1: Selects CKm1 as operation clock of channel n.
(b) Timer output register p (TOp)
Bit q
TOp
TOpq
1/0
0: Outputs 0 from TOpq.
1: Outputs 1 from TOpq.
(c) Timer output enable register p (TOEp)
Bit q
TOEp
TOEpq
1/0
0: Stops the TOpq output operation by counting operation.
1: Enables the TOpq output operation by counting operation.
(d) Timer output level register p (TOLp)
Bit q
TOLp
TOLpq
0
0: Cleared to 0 when TOMpq = 0 (toggle mode)
(e) Timer output mode register p (TOMp)
Bit q
TOMp TOMpq
0
0: Sets toggle mode.
Remark
mn: Unit number + Channel number, pq: Unit number + Channel number (only for channels provided with timer I/O pins)
78K0R/LF3: m = 0, 1, mn = 00 to 07, 10 to 13, pq = 00 to 04, 07
78K0R/LG3: m = 0, 1, mn = 00 to 07, 10 to 13, pq = 00 to 07
78K0R/LH3: m = 0, 1, mn = 00 to 07, 10 to 13, pq = 00 to 07, 10 to 13
R01UH0004EJ0501 Rev.5.01
301
Jun 20, 2011