UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 248

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
246
(c) Notes on rewriting TPnCCR0 register
To change the value of the TPnCCR0 register to a smaller value, stop counting once and then change the
set value.
If the value of the TPnCCR0 register is rewritten to a smaller value during counting, the 16-bit counter may
overflow.
Remarks 1. Interval time (1): (D
If the value of the TPnCCR0 register is changed from D
less than D
has been rewritten. Consequently, the value of the 16-bit counter that is compared is D
Because the count value has already exceeded D
overflows, and then counts up again from 0000H. When the count value matches D
signal is generated and the output of the TIOPn0 pin is inverted.
Therefore, the INTTPnCC0 signal may not be generated at the interval time “(D
or “(D
+ 1)
INTTPnCC0 signal
TPnCCR0 register
2
TIOPn0 pin output
Count clock period”.
+ 1)
16-bit counter
2. n = 0 to 4
1
TPnOL0 bit
, the count value is transferred to the CCR0 buffer register as soon as the TPnCCR0 register
TPnCE bit
Count clock cycle” originally expected, but may be generated at an interval of “(10000H + D
Interval time (NG): (10000H + D
Interval time (2): (D
FFFFH
0000H
CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP)
L
Preliminary User’s Manual U19748EJ1V0UD
Interval time (1)
1
2
+ 1)
+ 1)
D
1
Count clock cycle
Count clock cycle
D
1
2
+ 1)
D
2
Interval time (NG)
2
, however, the 16-bit counter counts up to FFFFH,
D
Count clock cycle
1
1
to D
2
while the count value is greater than D
D
2
D
2
Interval
time (2)
D
2
1
+ 1)
2
.
2
Count clock cycle”
, the INTTPnCC0
2
but
2

Related parts for UPD78F0838