280
Chapter 10
Timer
Preliminary User’s Manual U15839EE1V0UM00
(2)
Timer C control register 1 (TMCC01)
The TMCC01 register controls the operation of TMC0.
This register can be read/written in 8-bit or 1-bit units.
Cautions: 1. Do not change the bits of the TMCC01 register during timer operation. If they are
to be changed, they must be changed after setting the CE bit of the TMCC00
register to 0. If the TMCC01 register is overwritten during timer operation, the
operation is not guaranteed.
2. If the ENTO bit and the ALV bit are changed simultaneously, a glitch
(spike-shaped noise) may be generated in the TOC0 pin output. Either design the
circuit that will not malfunction even if a glitch is generated, or make sure that the
ENTO bit and the ALV bit do not change at the same time.
3. TOC0 output remains unchanged by external interrupt signals (INTCCC00,
INTCCC01). When using the TOC0 signal, set the capture/compare register to the
compare register (CMS1, CMS0 bits of TMCC01 register = 1).
Remark:
A reset takes precedence for the flip-flop of the TOC0 output.
Figure 10-6:
Timer C control Register 1 (TMCC01) (1/2)
7
6
5
4
3
2
1
0
Address
Initial
value
TMCC01
OST
ENTO
ALV
0
CCLR
0
CMS1
CMS0
FFFF F608H
20H
Bit Position
Bit name
Function
7
OST
Setting of the timer operation after overflow:
0: After overflow the count operation is continued (free running mode)
1: After overflow the count operation is stopped (overflow stop mode). The count is
restarted by writing "1" to the CE bit.
6
ETO
Enables/disables output of external pulse output (TOC0).
0: Disable external pulse output. Output of inactive level of ALV bit to TOC0 pin is
fixed. TOC0 pin level remains unchanged even if match signal from correspond-
ing
compare register is generated.
1: Enable external pulse output. Compare register match causes TOC0 output to
change. However, in capture mode, TOC0 output does not change. An ALV bit
inactive level is output from the time when timer output is enabled until a match
signal is generated.
Caution:
If either CCC00 or CCC01 is specified as a capture register, the ENTO
bit must be set to "0".
5
ALV
Specifies active level of external pulse output (TOC0).
0: Active level is low level.
1: Active level is high level.
Caution:
The initial value of the ALV bit is "1".
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......