UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 238

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
6.6 Timer Synchronous Operation Function
can be synchronized.
follows:
236
Timer P has a timer synchronized operation function. TMP0 as a master timer and TMP1 to TMP4 as slave timers
Cautions 1. The tuned operation mode is enabled or disabled by the TPnSYE bit of the TPnCTL1 register.
The free-running mode and PWM mode can be used for TMP0 as a master timer in the tuned operation mode as
2. Set the tuned operation mode using the following procedure:
For TMP0, TMP1 to TMP4 can be specified as slaves.
<1> Set the TPnSYE bit of the TPnCTL1 register of the slave timer to enable the tuned
<2> Set the timer mode by using the TPnMD2 to TPnMD0 bits of the TPnCTL1 register. At this
<3> Set the compare register value of the master and slave timers.
<4> Set the TPnCE bit of the TPnCTL0 register of the slave timer to enable operation on the
<5> Set the TPnCE bit of the TPnCTL0 register of the master timer to enable operation on the
Remark The timing of transmitting data from the compare register of the master
Tuned Channel
Ch0
operation.
Set the TPnMD2 to TPnMD0 bits of the TPnCTL1 register of the slave timer to the
free-running mode.
time, do not set the TPnSYE bit of the TPnCTL1 register of the master timer.
internal operating clock.
internal operating clock.
timer to the compare register of the slave timer is as follows.
PPG:
Toggle, PWM: Timing at which timer counter and compare register
CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP)
TMP0
(master) TIOP01
TMP1
(slave)
TMP2
(slave)
TMP3
(slave)
TMP4
(slave)
Timer
Table 6-4. Timer Output Functions
Preliminary User’s Manual U19748EJ1V0UD
CPU write timing
match TIOPn0 (n = 0 to 4)
TIOP00
TIOP10
TIOP11
TIOP20
TIOP21
TIOP30
TIOP31
TIOP40
TIOP41
Pin
Tuning OFF Tuning ON Tuning OFF Tuning ON
Free-running Mode
PPG
Toggle
Toggle
Toggle
Toggle
Toggle
PWM
PWM
PWM
PWM
PWM
PWM Mode
PWM
PWM
PWM
PWM

Related parts for UPD78F0838