UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 324

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
10.4.2 Clear Operation
(1) Clear operation after match with compare register and capture operation
(2) Clear operation by CE2 bit of timer control register 2 (TMC2)
284
Timer register 2 (TM2) can be cleared automatically after a match with the compare register (CR2n: n = 0, 1) and a
capture operation. When a clearance source arises, TM2 is cleared to 0H on the next count clock. Therefore, even
if a clearance source arises, the value at the point at which the clearance source arose is retained until the next count
clock arrives.
Timer register 2 (TM2) is also cleared when the CE2 bit of the TMC1 is cleared (0) by software. The clear operation
is performed immediately after clearance (0) of the CE2 bit.
Count Clock
INTP1
Compare Register
TM2
Figure 10-8 TM2 Clearance by Match With Compare Register (CR20/CR21)
Count Clock
(CR2n)
TM2
n-1
Figure 10-9 TM2 Clearance after Capture Operation
TM2 is captured
in CR22 here
n-1
TM2 and CR2n Match
CHAPTER 10 TIMER/COUNTER 2
n
Cleared Here
n
Cleared Here
0
n
0
1
1
2

Related parts for UPD784026