English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (337/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 6 TIMER ARRAY UNIT
Figure 6-55. Example of Set Contents of Registers to Measure Input Signal High-/Low-Level Width
(a) Timer mode register pq (TMRpq)
15 14 13 12 11 10 9
8
7
6
5
TMRpq CKSpq
1/0 0
MAS
CCSpq
STSpq2 STSpq1 STSpq0 CISpq1 CISpq0
TERpq
0
0
0
0
1
0
1 1/0 0
4
3
2
1
0
MDpq3 MDpq2 MDpq1 MDpq0
0
1
1
0
0
Operation mode of channel q
110B: Capture & one-count
Setting of operation when counting is started
0: Does not generate INTTMpq when
counting is started.
Selection of TIpq pin input edge
10B: Both edges (to measure low-level width)
11B: Both edges (to measure high-level width)
Start trigger selection
010B: Selects the TIpq pin input valid edge.
Slave/master selection
0: Cleared to 0 when independent function is selected.
Count clock selection
0: Selects operation clock.
Operation clock selection
0: Selects CKp0 as operation clock of channel q.
1: Selects CKp1 as operation clock of channel q.
(b) Timer output register p (TOp)
Bit q
TOp
TOpq
0
0: Outputs 0 from TOpq.
(c) Timer output enable register p (TOEp)
Bit q
TOEp
TOEpq
0
0: Stops 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
pq: Unit number + Channel number (only for channels provided with timer I/O pins)
78K0R/LF3: p = 0, pq = 00 to 04, 07
78K0R/LG3: p = 0, pq = 00 to 07
78K0R/LH3: p = 0, 1, pq = 00 to 07, 10 to 13
R01UH0004EJ0501 Rev.5.01
321
Jun 20, 2011