English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (306/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 6 TIMER ARRAY UNIT
Remark
pq: Unit number + Channel number (only for channels provided with timer I/O pins)
<1> 78K0R/LF3:
• p = 0, q = 0 to 4, 7 (q = 0, 2, 4 for master channel)
q < r ≤ 7 (where r is a consecutive integer greater than q)
<2> 78K0R/LG3:
• p = 0, q = 0 to 7 (q = 0, 2, 4, 6 for master channel)
q < r ≤ 7 (where r is a consecutive integer greater than q)
<3> 78K0R/LH3:
• p = 0, q = 0 to 7 (q = 0, 2, 4, 6 for master channel)
q < r ≤ 7 (where r is a consecutive integer greater than q)
• p = 1, q = 0 to 3 (q = 0, 2 for master channel)
q < r ≤ 3 (where r is a consecutive integer greater than q)
6.4.2 TOpq Pin Output Setting
The following figure shows the procedure and status transition of TOpq out put pin from initial setting to timer operation
start.
Figure 6-27. Status Transition from Timer Output Setting to Operation Start
TCRpq
(Counter)
Timer alternate-function pin
Undefined value (FFFFH after reset)
Hi-Z
Timer output signal
TOpq
TOEpq
Write operation enabled period to TOpq
Write operation disabled period to TOpq
<1> Set the TOMpq <2> Set the TOpq <3> Set the TOEpq <4> Set the port to <5> Timer operation start
Set the TOLpq
output mode
<1> The operation mode of timer output is set.
• TOMpq bit (0: Toggle mode, 1: Combination operation mode)
• TOLpq bit (0: Forward output, 1: Reverse output)
<2> The timer output signal is set to the initial status by setting TOpq.
<3> The timer output operation is enabled by writing 1 to TOEpq (writing to TOpq is disabled).
<4> The port I/O setting is set to output (see 6.3 (15) Port mode registers 1, 3, 5, 8).
<5> The timer operation is enabled (TSpq = 1).
Remark
pq: Unit number + Channel number (only for channels provided with timer I/O pins)
78K0R/LF3: pq = 00 to 04, 07
78K0R/LG3: pq = 00 to 07
78K0R/LH3: pq = 00 to 07, 10 to 13
R01UH0004EJ0501 Rev.5.01
290
Jun 20, 2011