UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 317

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
7.3 Registers Controlling 8-Bit Timer/Event Counters 50 and 51
(1) Timer clock selection register 5n (TCL5n)
The following four registers are used to control 8-bit timer/event counters 50 and 51.
Notes 1.
Cautions 1. When rewriting TCL50 to other data, stop the timer operation beforehand.
Remark f
This register sets the count clock of 8-bit timer/event counter 5n and the valid edge of the TIO5n pin input.
TCL5n can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears TCL5n to 00H.
Address: FF6AH
Symbol
TCL50
Timer clock selection register 5n (TCL5n)
8-bit timer mode control register 5n (TMC5n)
Port mode register 0 (P0)
Port register 0 (P0)
Remark n = 0, 1
2.
3.
2. Be sure to set bits 3 to 7 to 0.
PRS
If the peripheral hardware clock (f
f
In the on-board mode, the FLMD0 pin falling edge is selected.
In the on-board mode, the FLMD0 pin rising edge is selected.
PRS
: Peripheral hardware clock frequency
V
V
DD
DD
TCL502
operating frequency varies depending on the supply voltage.
= 4.0 to 5.5 V: f
= 2.7 to 4.0 V: f
7
0
0
0
0
0
1
1
1
1
After reset: 00H
Figure 7-5. Format of Timer Clock Selection Register 50 (TCL50)
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
TCL501
6
0
0
0
1
1
0
0
1
1
PRS
PRS
R/W
Preliminary User’s Manual U19748EJ1V0UD
20 MHz
10 MHz
TCL500
5
0
0
1
0
1
0
1
0
1
PRS
) operates on the high-speed system clock (f
TIO50 pin falling edge
TIO50 pin rising edge
f
f
f
f
f
f
PRS
PRS
PRS
OSC
OSC
OSC
/2
/2
/2
/2
4
0
2
7
9
2 MHz
1 MHz
500 kHz
Typ. 1.88 kHz
Typ. 0.47 kHz
Typ. 240 kHz
f
PRS
MHz
3
0
= 2
Count clock selection
Note 3
Note 2
5 MHz
2.5 MHz
1.25 MHz
TCL502
f
PRS
MHz
2
= 5
10 MHz
5 MHz
2.5 MHz
Note 1
f
TCL501
PRS
MHz
1
= 10
IN
) (XSEL = 1), the
20 MHz
10 MHz
5 MHz
f
TCL500
PRS
MHz
0
= 20
315

Related parts for UPD78F0838