UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 277

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(2) Operation timing in one-shot pulse output mode
External trigger input
(only when software
INTTPnCC0 signal
INTTPnCC1 signal
(TIOPn0 pin input)
TPnCCR0 register
TPnCCR1 register
TIOPn0 pin output
TIOPn1 pin output
(a) Note on rewriting TPnCCRm register
trigger is used)
16-bit counter
To change the set value of the TPnCCRm register to a smaller value, stop counting once, and then change
the set value.
If the value of the TPnCCRm register is rewritten to a smaller value during counting, the 16-bit counter may
overflow.
When the TPnCCR0 register is rewritten from D
D
greater than D
than D
compared with the count value. The counter counts up to FFFFH and then counts up again from 0000H.
When the count value matches D
pin. When the count value matches D
TIOPn1 pin, and stops counting.
Therefore, the counter may output a pulse with a delay period or active period different from that of the
one-shot pulse that is originally expected.
Remark
00
TPnCE bit
> D
FFFFH
0000H
01
01
and less than D
and D
n = 0 to 4
m = 0, 1
11
10
and less than D
> D
CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP)
11
, if the TPnCCR1 register is rewritten when the count value of the 16-bit counter is
00
Delay
(D
, each set value is reflected as soon as the register has been rewritten and
D
10
Preliminary User’s Manual U19748EJ1V0UD
10
)
Active level width
(D
10
11
00
and if the TPnCCR0 register is rewritten when the count value is greater
, the counter generates the INTTPnCC1 signal and asserts the TIOPn1
D
00
D
10
+ 1)
01
D
, the counter generates the INTTPnCC0 signal, deasserts the
10
D
00
Delay
(D
00
D
10
10
)
to D
Active level width
(D
00
D
01
00
D
and the TPnCCR1 register from D
10
+ 1)
D
Delay
(10000H + D
10
D
00
11
)
Active level width
(D
D
D
D
01
11
11
01
D
01
D
10
11
to D
+ 1)
11
where
275

Related parts for UPD78F0838