UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 292

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
290
TPnOPT0
TPnIOC1
TPnIOC2
Remark
(d) TMPn I/O control register 1 (TPnIOC1)
(e) TMPn I/O control register 2 (TPnIOC2)
(f) TMPn option register 0 (TPnOPT0)
(g) TMPn counter read buffer register (TPnCNT)
(h) TMPn capture/compare registers 0 and 1 (TPnCCR0 and TPnCCR1)
The value of the 16-bit counter can be read by reading the TPnCNT register.
These registers function as capture registers or compare registers depending on the setting of the
TPnOPT0.TPnCCSm bit.
When the registers function as capture registers, they store the count value of the 16-bit counter when
the valid edge input to the TIOPnm pin is detected.
When the registers function as compare registers and when D
INTTPnCCm signal is generated when the counter reaches (D
TIOPnm pin is inverted.
m = 0, 1
n = 0 to 4
0
0
0
0
Figure 6-34. Register Setting in Free-running Timer Mode (2/2)
0
0
TPnCCS1
CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP)
0/1
0
0
Preliminary User’s Manual U19748EJ1V0UD
TPnCCS0
0/1
0
0
TPnEES1 TPnEES0 TPnETS1 TPnETS0
TPnIS3
0/1
0/1
0
TPnIS2
0/1
0/1
0
TPnIS1
0/1
0
0
m
m
is set to the TPnCCRm register, the
+ 1), and the output signal of the
TPnOVF
TPnIS0
0/1
0/1
0
Select valid edge of TIOPn0
pin input
Select valid edge of TIOPn1
pin input
Select valid edge of external
event count input
Overflow flag
Specifies if TPnCCR0
register functions as capture
or compare register
Specifies if TPnCCR1
register functions as capture
or compare register

Related parts for UPD78F0838