15.4 Operation
15.4 Operation
15.4.1 Internal clock operation
The machine clock divided by 2
from an internal divide clock. The external input pin can be selected as either a trigger input or gate input
by a register setting.
Writing "1" to both the CNTE and TRG bits in the control register enables and starts counting
taneously. Using the TRG bit as a trigger input is always available when the timer is enabled (CNTE = "1"),
regardless of the operation mode.
Figure 15.4.1a shows counter activation and counter operation. A time period T (T: machine cycle) is
required from the counter start trigger being input until the reload register data is loaded into counter.
Count clock
Counter
Data load
CNTE (bit)
TRG (bit)
214
Chapter 15: 16-Bit Reload Timer (with Event Count Function)
1
3
5
, 2
, or 2
can be selected as the clock sources for operating the timer
Reload data
T
Figure 15.4.1a Counter Activation and Operation
-1
-1
simul-
-1
MB90580 Series