252
Chapter 9
Timer / Counter (Real Time Pulse Unit)
Preliminary User’s Manual U14913EE1V0UM00
9.1.4 Control
register
(1)
Timer D control registers 0, 1 (TMCD0 to TMCD1)
The TMCDn register controls the operation of timer D (n = 0, 1).
This register can be read/written in 8- or 1-bit units.
Figure 9-5: Timer D Control Register 0, 1 (TMCD0 to TMCD1)
Caution: The CAE bit and CE bit cannot be set at the same time. Be sure to set the CAE bit
prior to setting the CE bit.
7
6
5
4
3
2
1
0
Address
I n i t i a l va l u e
TMCD0
0
CS2
CS1
CS0
0
0
CE
CAE
FFFFF544H
00H
7
6
5
4
3
2
1
0
Address
I n i t i a l va l u e
TMCD1
0
CS2
CS1
CS0
0
0
CE
CAE
FFFFF554H
00H
Bit Position
Bit Name
Function
6 to 4
CS2 to CS0 Selects the TMDn count clock (n = 0, 1).
CS2
CS1
CS0
Count Clock
0
0
0
f
CPU
/2
0
0
1
f
CPU
/4
0
1
0
f
CPU
/8
0
1
1
f
CPU
/16
1
0
0
f
CPU
/32
1
0
1
f
CPU
/64
1
1
0
f
CPU
/128
1
1
1
f
CPU
/256
Caution:
Do not change the CS2 to CS0 bits during timer operation. If they
are to be changed, they must be changed after setting the CE bit to
0. If the CS2 to CS0 bits are overwritten during timer operation, the
operation is not guaranteed.
1
CE
Count Enable: Controls the operation of TMDn (n = 0, 1).
0: Disable count (timer stopped at 0000H and does not operate)
1: Perform count operation
Caution:
CE bit is not cleared even if a match is detected by the compare
operation. To stop the count operation, clear the CE bit.
0
CAE
Count Action Enable: Controls the internal count clock.
0: Asynchronously reset entire TMDn unit. Stop clock supply to TMDn unit.
1: Supply clock to TMDn unit (n = 0, 1).
Cautions: 1. When CAE = 0 is set, the TMDn unit can be reset asynchronously.
2. When CAE = 0, the TMDn unit is in a reset state. To operate
TMDn, first set CAE = 1.
3. When the CAE bit is changed from 1 to 0, all the registers of the
TMDn unit are initialized. When again setting CAE = 1, be sure to
then again set all the registers of the TMDn unit.
Содержание V850E/CA1 ATOMIC
Страница 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...