
CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
User’s Manual U17260EJ6V0UD
179
Figure 7-2. Block Diagram of 16-Bit Timer/Event Counter 01
(Available only in the
PD78F0534, 78F0535, 78F0536, 78F0537, and 78F0537D)
Internal bus
Capture/compare control
register 01 (CRC01)
TI011/TO01/P06
TI001/P05/
SSI11
Prescaler mode
register 01 (PRM01)
2
PRM011 PRM010
CRC012
16-bit timer capture/compare
register 011 (CR011)
Match
16-bit timer counter 01
(TM01)
Clear
Noise
elimi-
nator
CRC012 CRC011 CRC010
INTTM001
TO01/TI011/
P06
INTTM011
16-bit timer output
control register 01
(TOC01)
16-bit timer mode
control register 01
(TMC01)
Internal bus
TMC013 TMC012 TMC011 OVF01
TOC014 LVS01 LVR01 TOC011 TOE01
Selector
16-bit timer capture/compare
register 001 (CR001)
Selector
Noise
elimi-
nator
Noise
elimi-
nator
Output
controller
OSPE01
OSPT01
Output latch
(P06)
PM06
To CR011
TO01 output
fPRS
fPRS/24
fPRS/26
fPRS
Cautions 1. The valid edge of TI010 and timer output (TO00) cannot be used for the P01 pin at the same
time, and the valid edge of TI011 and timer output (TO01) cannot be used for the P06 pin at
the same time. Select either of the functions.
2. If clearing of bits 3 and 2 (TMC0n3 and TMC0n2) of 16-bit timer mode control register 0n
(TMC0n) to 00 and input of the capture trigger conflict, then the captured data is undefined.
3. To change the mode from the capture mode to the comparison mode, first clear the TMC0n3
and TMC0n2 bits to 00, and then change the setting.
A value that has been once captured remains stored in CR00n unless the device is reset. If
the mode has been changed to the comparison mode, be sure to set a comparison value.
(1) 16-bit timer counter 0n (TM0n)
TM0n is a 16-bit read-only register that counts count pulses.
The counter is incremented in synchronization with the rising edge of the count clock.
If the count value is read during operation, then input of the count clock is temporarily stopped, and the count
value at that point is read.
Remark
n = 0:
PD78F0531, 78F0532, 78F0533
n = 0, 1:
PD78F0534, 78F0535, 78F0536, 78F0537, 78F0537D
<R>