UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 265

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
<1> Count operation start flow
<2> TPnCCR0 and TPnCCR1 register
setting change flow
(TPnCKS0 to TPnCKS2 bits)
Setting of TPnCCR0 register
Setting of TPnCCR1 register
Register initial setting
TPnCCR0 register,
TPnCTL1 register,
TPnIOC0 register,
TPnIOC2 register,
TPnCCR1 register
TPnCTL0 register
Remark
TPnCE bit = 1
Figure 6-22. Software Processing Flow in External Trigger Pulse Output Mode (2/2)
START
n = 0 to 4
m = 0, 1
CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP)
Initial setting of these
registers is performed
before setting the
TPnCE bit to 1.
The TPnCKS0 to
TPnCKS2 bits can be
set at the same time
when counting is
enabled (TPnCE bit = 1).
Trigger wait status
TPnCCR1 register write
processing is necessary
only when the set
cycle is changed.
When the counter is
cleared after setting,
the value of the TPnCCRm
register is transferred to
the CCRm buffer register.
Preliminary User’s Manual U19748EJ1V0UD
<3> TPnCCR0, TPnCCR1 register
<4> TPnCCR0, TPnCCR1 register
<5> Count operation stop flow
setting change flow
setting change flow
Setting of TPnCCR1 register
Setting of TPnCCR0 register
Setting of TPnCCR1 register
TPnCE bit = 0
STOP
Counting is stopped.
Only writing of the TPnCCR1
register must be performed when
When the counter is cleared after
setting, the value of the
TPnCCRm register is transferred
to the CCRm buffer register.
When the counter is
cleared after setting,
the value of the TPnCCRm
register is transferred to
the CCRm buffer register.
the set duty factor is changed.
263

Related parts for UPD78F0838