UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 290

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
detected, the count value of the 16-bit counter is stored in the TPnCCRm register, and a capture interrupt request
signal (INTTPnCCm) is generated.
generates an overflow interrupt request signal (INTTPnOV) at the next clock, is cleared to 0000H, and continues
counting. At this time, the overflow flag (TPnOPT0.TPnOVF bit) is also set to 1. Clear the overflow flag to 0 by
executing the CLR instruction by software.
288
When the TPnCE bit is set to 1, the 16-bit counter starts counting. When the valid edge input to the TIOPnm pin is
The 16-bit counter continues counting in synchronization with the count clock. When it counts up to FFFFH, it
Remark
INTTPnCC0 signal
INTTPnCC1 signal
TPnCCR0 register
TPnCCR1 register
INTTPnOV signal
TIOPn0 pin input
TIOPn1 pin input
16-bit counter
TPnOVF bit
Figure 6-33. Basic Timing in Free-running Timer Mode (Capture Function)
TPnCE bit
n = 0 to 4
FFFFH
0000H
CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP)
Preliminary User’s Manual U19748EJ1V0UD
D
00
D
CLR instruction
Cleared to 0 by
10
D
00
D
D
01
10
D
11
CLR instruction
Cleared to 0 by
D
D
01
02
D
11
D
12
CLR instruction
Cleared to 0 by
D
02
D
D
03
12
D
13
D
03
D
13

Related parts for UPD78F0838