UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 280

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
PWM waveform from the TIOPn1 pin.
written value is reflected when the count value of the 16-bit counter matches the value of the CCR0 buffer register and
the 16-bit counter is cleared to 0000H.
after its count value matches the value of the CCR0 buffer register, and the 16-bit counter is cleared to 0000H. The
compare match interrupt request signal INTTPnCC1 is generated when the count value of the 16-bit counter matches
the value of the CCR1 buffer register.
bit counter matches the value of the CCRm buffer register and the 16-bit counter is cleared to 0000H.
278
When the TPnCE bit is set to 1, the 16-bit counter is cleared from FFFFH to 0000H, starts counting, and outputs a
The active level width, cycle, and duty factor of the PWM waveform can be calculated as follows.
The PWM waveform can be changed by rewriting the TPnCCRm register while the counter is operating. The newly
The compare match interrupt request signal INTTPnCC0 is generated when the 16-bit counter counts next time
The value set to the TPnCCRm register is transferred to the CCRm buffer register when the count value of the 16-
Remark
Active level width = (Set value of TPnCCR1 register )
Cycle = (Set value of TPnCCR0 register + 1)
Duty factor = (Set value of TPnCCR1 register)/(Set value of TPnCCR0 register + 1)
CCR0 buffer register
CCR1 buffer register
INTTPnCC0 signal
INTTPnCC1 signal
n = 0 to 4, m = 0, 1
TPnCCR0 register
TPnCCR1 register
TIOPn0 pin output
TIOPn1 pin output
16-bit counter
TPnCE bit
FFFFH
0000H
CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP)
Figure 6-28. Basic Timing in PWM Output Mode
Active period
Preliminary User’s Manual U19748EJ1V0UD
D
(D
10
D
10
00
)
(D
D
D
Cycle
00
10
D
00
D
D
Count clock cycle
10
10
D
+ 1)
00
00
D
Count clock cycle
Inactive period
(D
10
D
00
00
D
10
+ 1)
D
D
11
01
D
01
D
D
D
D
11
11
01
11
D
01

Related parts for UPD78F0838