551
Chapter 12
16-bit 2-Phase Encoder Input Up/Down Counter/General Purpose Timer (TMENC10)
User’s Manual U16580EE3V1UD00
(5)
Prescaler mode register 10 (PRM10)
The PRM register is used to perform the following selections.
•
Selection of count clock in the general-purpose timer mode (CMD bit of TUM10 register = 0)
•
Selection of count operation mode in the UDC mode (CMD bit = 1)
This register can be read or written in 8-bit or 1-bit units.
Reset input clears this register to 07H.
Cautions: 1. Overwriting the PRM10 register during TMENC10 operation (TM1CE bit = 1) is pro-
hibited.
2. When the CMD bit of the TUM10 register = 1 (UDC mode), setting the values of the
PRM2 to PRM0 bits to 000B, 001B, 010B, and 011B is prohibited.
3. When TMENC10 is in mode 4, specification of the valid edge for the TIUD1 and
TCUD1 pins is invalid.
Figure 12-11:
Prescaler Mode Register 10 (PRM10)
Remark:
f
XX
: Internal system clock
(a) In general-purpose timer mode (CMD bit = 0)
The count clock is fixed to the internal clock. The clock rate of TMENC10 is specified by the
PRM102 to PRM100 bits.
After reset:
07H
R/W
Address:
FFFFF6BEH
7
6
5
4
3
2
1
0
PRM10
0
0
0
0
0
PRM102
PRM101
PRM100
PRM102
PRM101
PRM100
CMD = 0
CMD = 1
Count Clock
Count Clock
UDC Mode
0
0
0
Setting
prohibited
Setting prohibited
0
0
1
f
XX
/8
0
1
0
f
XX
/16
0
1
1
f
XX
/32
1
0
0
f
XX
/64
TIUD1
Mode 1
1
0
1
f
XX
/128
Mode 2
1
1
0
f
XX
/256
Mode 3
1
1
1
f
XX
/512
Mode 4
Содержание V850E/PH2
Страница 6: ...6 Preface User s Manual U16580EE3V1UD00...
Страница 16: ...16 User s Manual U16580EE3V1UD00...
Страница 28: ...28 User s Manual U16580EE3V1UD00...
Страница 32: ...32 User s Manual U16580EE3V1UD00...
Страница 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO...
Страница 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO...
Страница 192: ...192 Chapter 5 Memory Access Control Function PD70F3187 only User s Manual U16580EE3V1UD00 MEMO...
Страница 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO...
Страница 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00...
Страница 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO...
Страница 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00...
Страница 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO...
Страница 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO...
Страница 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO...
Страница 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO...
Страница 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO...
Страница 1052: ...1052 User s Manual U16580EE3V1UD00...
Страница 1053: ......