CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
309
User’s Manual U14492EJ3V0UD
(3) Timer control registers 10, 11 (TMC10, TMC11)
The TMC1n register is used to enable/disable TM1n operation and to set transfer and timer clear operations.
TMC1n can be read/written in 8-bit or 1-bit units.
Caution
Changing the value of bits of the TMC1n register other than the TM1CEn bit during TM1n
operation (TM1CEn bit = 1) is prohibited.
(1/2)
7
0
TMC10
<6>
TM1CE0
5
0
4
0
3
RLEN
2
ENMD
1
CLR1
0
CLR0
Address
FFFFF5ECH
Initial value
00H
7
0
TMC11
<6>
TM1CE1
5
0
4
0
3
RLEN
2
ENMD
1
CLR1
0
CLR0
Address
FFFFF60CH
Initial value
00H
Bit Position
Bit Name
Function
6
TM1CEn
Enables/disables TM1n operation.
0: Disable TM1n count operation
1: Enable TM1n count operation
3
RLEN
Enables/disables transfer from CM1n0 to TM1n.
0: Disable transfer
1: Enable transfer
Cautions 1. When RLEN = 1, the value set to CM1n0 is transferred to TM1n
upon occurrence of TM1n underflow.
2. When the CMD bit of the TUMn register = 0 (general-purpose timer
mode), the RLEN bit setting becomes invalid.
3. The RLEN bit is valid only in UDC mode A (CMD bit of TUMn
register = 1 and MSEL bit = 0). In the general-purpose timer mode
(CMD bit = 0) and UDC mode B (CMD bit = 1, MSEL bit = 1), a
transfer operation is not executed even if the RLEN bit is set to 1.
2
ENMD
Enables/disables clearing of TM1n in general-purpose timer mode (CMD bit of TUMn
register = 0).
0: Disable clear (free-running mode)
Clearing is not performed even when TM1n and CM1n0 values match.
1: Enable clear
Clearing is performed when TM1n and CM1n0 values match.
Caution
When the CMD bit of the TUMn register = 1 (UDC mode), the ENMD
bit setting becomes invalid.
Remark
n = 0, 1
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...