275
Chapter 10
Timer
Preliminary User’s Manual U15839EE1V0UM00
Selection of the internal count clock
TMC0 operates as a free-running timer.
TMC0 is counted up for each input clock cycle specified by the CS2 to CS0 bits of the TMCC00
register.
A division by the prescaler can be selected for the count clock from among
f
PCLK
/2, f
PCLK
/4, f
PCLK
/8, f
PCLK
/16, f
PCLK
/32, f
PCLK
/64, f
PCLK
/128 and f
PCLK
/256 by the TMCC00
register.
Remark:
f
PCLK
: internal peripheral clock.
An overflow interrupt can be generated if the timer overflows.
Caution:
The count clock cannot be changed while the timer is operating.
The conditions when the TMC0 register becomes 0000H are:
(a) Asynchronous reset
- CAE bit of TMCC00 register = 0
- RESET input
(b) Synchronous reset
- CE bit of TMCC00 register = 0
- The CCC00 register is used as a compare register, and the TMC0 and CCC00 registers match
when “clearing the TMC0 register” is enabled (CCLR bit of the TMCC01 register = 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: ......