305
Chapter 10
Timer
Preliminary User’s Manual U15839EE1V0UM00
10.2.7 Precautions for Timer Dn
Various precautions concerning Timer Dn are shown below.
(1)
To operate Timer Dn, first set to "1" the CAE bit of the TMCDn register.
(2)
Up to f
PCLK
/2 clocks are required after a value is set in the CE bit of the TMCDn register until the
set value is transferred to internal units. When a count operation begins, the count cycle from
0000H to 0001H differs from subsequent count cycles.
(3)
To initialize the TMDn register status and start counting again, clear the CE bit to "0" and then set
the CE bit to "1" after an interval of f
PCLK
/2 clocks has elapsed.
(4)
Up to f
PCLK
/2 clocks are required until the value that was set in the CMDn register is transferred to
internal units. When writing continuously to the CMDn register, be sure to secure a time interval of
at least f
PCLK
/2 clocks.
(5)
The CMDn register can be overwritten only once during a timer/counter operation (from 0000H
until an INTTMDn interrupt is generated due to a match of the TMDn register and CMDn register).
If this cannot be secured, make sure that the CMDn register is not overwritten during a
timer/counter operation.
(6)
The count clock must not be changed during a timer operation. If the clock selection by CS2 to
CS0 bits is going to be changed, it should be overwritten after the CE bit is cleared to "0". If the
count clock is changed during a timer operation, operation cannot be guaranteed.
(7)
An INTTMDn interrupt will be generated after an overflow if a value less than the counter value is
written in the CMDn register during TMDn register operation.
Remark:
n = 0, 1
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......