326
Chapter 10
16-bit Inverter Timer/Counter R
User’s Manual U16580EE3V1UD00
(2)
TMRn control register 1 (TRnCTL1)
The TRnCTL1 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.
Cautions: 1. In the one-shot pulse mode and external trigger pulse output mode, write access
using “1”, the same value as that of bit TRnEST, functions as one trigger.
2. Set bits TRnEEE and TRnMD2 to TRnMD0 when TRnCE = 0. (The same value as
when TRnCE = 1 can be written). Do not perform rewrite when TRnCE = 1.
Figure 10-13:
TMRn Control Register 1 (TRnCTL1) (1/2)
Remark:
n = 0, 1
After reset:
00H
R/W
Address:
TR0CTL1 FFFFF581H,
TR1CTL1 FFFFF5C1H
7
6
5
4
3
2
1
0
TRnCTL1
0
TRnEST
TRnEEE
0
TRnMD3
TRnMD2
TRnMD1
TRnMD0
(n = 0, 1)
TRnEST
Software Trigger Control
0
No operation
1
Enables software trigger control
•
In one-shot pulse mode: One-shot pulse software trigger
•
In external trigger pulse output mode: Pulse output software trigger
•
The TRnEST bit functions as a software trigger in the one-shot pulse mode and the
external trigger pulse output mode, if it is set to 1 when TRnCE = 1. Always write
TRnEST = 1 when TRnCE = 1.
•
The read value of the TRnEST bit is always 0.
TRnEEE
Count Clock Specification
0
Use the internal clock (selected with bits TRnCKS2 to TRnCKS0 of the
TRnCTL0 register)
1
Use external clock input (TEVTR1 pin input edge)
Note
•
When TR1EEE = 1 (external clock input TEVTR1), the valid edge is specified by bits
TR1EES1 and TR1EES0 of the TRnIOC2 register.
Note:
External clock input pin is not available for TMR0 (n = 0).
Содержание MuPD70F3187
Страница 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: ......