467
Chapter 11
16-bit Timer/Event Counter T
User’s Manual U16580EE3V1UD00
(2)
TMTn control register 1 (TTnCTL1)
The TTnCTL1 register is an 8-bit register that controls the operation of TMTn.
This register can be read and written in 8-bit or 1-bit units.
Reset input clears this register to 00H.
Set the TTnCTL1 register when TTnCE = 0. When TTnCE = 1, the bits other than bit TTnEST
(TTnEEE, TTnMD3 to TTnMD0, TTnSYE) can be write accessed using the same value.
Caution:
In the one-shot pulse mode and external trigger pulse output mode, write access
using "1", the same value as that of bit TTnEST, functions as one trigger.
Figure 11-7:
TMTn Control Register 1 (TTnCTL1) (1/2)
Caution:
Rewrite the TTnEEE bit only when TTnCE = 0. (The same value can be written when
TTnCE = 1.) The operation is not guaranteed if rewriting is performed when
TTnCE = 1. If rewriting was mistakenly performed, set TTnCE = 0 and then set the bit
again.
Remark:
n = 0, 1
After reset:
00H
R/W
Address:
TR0CTL1 FFFFF691H,
TR1CTL1 FFFFF6A1H
7
6
5
4
3
2
1
0
TTnCTL1
0
TTnEST
TTnEEE
0
TTnMD3
TTnMD2
TTnMD1
TTnMD0
(n = 0, 1)
TTnEST
Software Trigger Control
0
No operation
1
Enable software trigger control
•
In one-shot pulse mode
(One-shot pulse software trigger)
Can be made to function as a software trigger by setting TTnETS to 1 when
TTnCE = 1. Always write TTnEST = 1 when TTnCE = 1.
•
In external trigger pulse output mode
(Pulse output software trigger)
Remark:
“0” is always read out from the TTnEST bit.
TTnEEE
Count Clock Selection
0
Use of clock selected with bits TTnCKS2 to TTnCKS0 of TTnCTL0 register
1
Use of external clock (TEVTTn pin input edge)
Specification of the valid edge when TTnEEE = 1 (external clock: TEVTTn pin) is set with
bits TTnEES1 and TTnEES0 of TTnIOC2 register.)
Remark:
The setting of bit TTnEEE is invalid in the external event count mode, encoder
compare mode, encoder capture mode, encoder capture/compare mode.
Summary of Contents for V850E/PH2
Page 6: ...6 Preface User s Manual U16580EE3V1UD00...
Page 16: ...16 User s Manual U16580EE3V1UD00...
Page 28: ...28 User s Manual U16580EE3V1UD00...
Page 32: ...32 User s Manual U16580EE3V1UD00...
Page 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO...
Page 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO...
Page 192: ...192 Chapter 5 Memory Access Control Function PD70F3187 only User s Manual U16580EE3V1UD00 MEMO...
Page 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO...
Page 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00...
Page 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO...
Page 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00...
Page 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO...
Page 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO...
Page 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO...
Page 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO...
Page 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO...
Page 1052: ...1052 User s Manual U16580EE3V1UD00...
Page 1053: ......