324
Chapter 10
16-bit Inverter Timer/Counter R
User’s Manual U16580EE3V1UD00
10.3 Control
Registers
(1)
TMRn control register 0 (TRnCTL0)
The TRnCTL0 register is an 8-bit register that controls the operation of timer Rn.
This register can be read and written in 8-bit or 1-bit units.
RESET input changes the value of this register to initial setting 00H.
Caution:
When TRnCE = 1, do not rewrite bits other than bit TRnCE of the TRnCTL0 register.
Figure 10-12:
TMRn Control Register 0 (TRnCTL0) (1/2)
Remark:
n = 0, 1
After reset:
00H
R/W
Address:
TR0CTL0 FFFFF580H,
TR1CTL0 FFFFF5C0H
7
6
5
4
3
2
1
0
TRnCTL0
TRnCE
0
0
0
0
TRnCKS2 TRnCKS1 TRnCKS0
(n = 0, 1)
TRnCE
Timer Rn Operation Control
0
Internal operating clock operation disabled (Reset timer Rn asynchronously)
1
Internal operating clock operation enabled
When bit TRnCE is set to “0”, the internal operation clock of timer Rn stops (fixed to low
level), and timer Rn is set asynchronously.
When bit TRnCE is set to “1”, the internal operation of timer Rn is enabled from when bit
TRnCE was set to “1” and count-up is performed. The time until count-up is as listed in
Table 10-2, “TMRn Count Clock and Count Delay,” on page 325.
Remark:
By setting TRnCE = 0 following functions of timer Rn are reset.
•
Internal registers and internal latch circuits other than registers that can be
written to/from the CPU
•
TRnOVF flag and flags in TRnOPT6 register
•
Counter, sub-counter, dead time counter, counter read register, sub-counter
read register
•
TRnCCR0 to TRnCCR5 buffer registers, TRnDTC0 buffer register, and
TRnDTC1 buffer register
•
Timer output (inactive level output)
Содержание 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: ......