UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 243

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
with the count clock, and the counter starts counting. At this time, the output of the TIOPn0 pin is inverted.
Additionally, the set value of the TPnCCR0 register is transferred to the CCR0 buffer register.
cleared to 0000H, the output of the TIOPn0 pin is inverted, and a compare match interrupt request signal
(INTTPnCC0) is generated.
TPnCTL0
TPnCTL1
When the TPnCE bit is set to 1, the value of the 16-bit counter is cleared from FFFFH to 0000H in synchronization
When the count value of the 16-bit counter matches the value of the CCR0 buffer register, the 16-bit counter is
The interval can be calculated by the following expression.
Interval = (Set value of TPnCCR0 register + 1)
Remark
(a) TMPn control register 0 (TPnCTL0)
(b) TMPn control register 1 (TPnCTL1)
Note
TPnCE
n = 0 to 4
0/1
0
This bit can be set to 1 only when the interrupt request signals (INTTPnCC0 and INTTPnCC1)
are masked by the interrupt mask flags (TPnCCMK0 and TPnCCMK1) and timer output (TIOPn1)
is performed at the same time. However, set the TPnCCR0 and TPnCCR1 registers to the same
value (see 6.7.1 (2) (d) Operation of TPnCCR1 register).
TPnEST TPnEEE
Figure 6-7. Register Setting for Interval Timer Mode Operation (1/2)
0
0
CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP)
0/1
0
Note
Preliminary User’s Manual U19748EJ1V0UD
0
0
Count clock cycle
0
0
TPnCKS2 TPnCKS1 TPnCKS0
TPnMD2 TPnMD1 TPnMD0
0/1
0
0/1
0
0/1
0
Select count clock
0: Stop counting
1: Enable counting
0, 0, 0: Interval timer mode
0: Operate on count clock
1: Count with external event
selected by TPnCKS0 to
TPnCKS2 bits
count input signal
241

Related parts for UPD78F0838