Tm1 Cleared After Capture Operation; Clear Operation When The Ce1 Bit Is Reset To 0 - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

Count clock
TM1
INTP0
TM1 can also be cleared by software when the CE1 bit of the timer control register (TMC1) is reset to 0.
Similarly, clear operation is performed by the count clock pulse following the resetting of CE1 bit to 0. If the
CE1 bit is set to 1 before TM1 is reset to 0 by the resetting of the CE1 bit to 0 (that is, before the first count clock
pulse is applied after the CE1 bit is reset to 0), two operations are simultaneously performed: one operation
is an operation to clear TM1 to 0, and the other operation is a count operation starting with the counting of
0.
(a) Basic operation
Count clock
Fig. 7-49 TM1 Cleared after Capture Operation
n-1
n
TM1 is captured
to CR11 here
Fig. 7-50 Clear Operation When the CE1 Bit Is Reset to 0
n-1
n
TM1
CE1
Chapter 7 Timer/Counter Units
0
Cleared here
0
1
2
7
147

Advertisement

Table of Contents
loading

Table of Contents