
262
Chapter 7
16-Bit Timer/Event Counter P
User’s Manual U16702EE3V2UD00
(2)
TMPn timer control register 1 (TPnCTL1)
TMPn control register 1 is an 8-bit register that controls the operation of timer P.
This register can be read and written in 8-bit or 1-bit units.
16-bit access is not possible.
RESET input clears this register to 00H.
Figure 7-6:
TMPn Control Register 1 (TPnCTL1) Format (1/2)
Caution:
In the synchronous operation mode, the master macro can be set only in the PWM
mode, external trigger pulse output mode, pulse output mode, and free-running
mode.
The slave macros can be set only in the free-running mode.
Setting the external event count mode, one-shot pulse mode, and pulse width
measurement mode is prohibited.
Address:TP0CTL1: FFFFF591H, TP1CTL1: FFFFF5A1H
TP2CTL1: FFFFF5B1H, TP3CTL1: FFFFF5C1H
Symbol
7
6
5
4
3
2
1
0
Address
R/W
After
reset
TPnCTL1 TPnSYE TPnEST TPnEEE
0
0
TPnMD2 TPnMD1 TPnMD0
FFFFF591H
to
FFFFF5C1H
R/W 00H
TPnSYE
Tuned operation mode enable control
0
Independent operation mode (asynchronous operation mode)
1
Tuned operation mode (specification of slave operation)
In this mode, timer P can operate in synchronization with a master timer.
Master timer
Slave timer
TMP0
TMP1
-
TMP2
TMP3
TMQ0
For the tuned operation mode, refer to
7.6 Timer Synchronized Operation Function
.
Caution:
Be sure to clear the TP0SYE and TP2SYE bits to 0 (master timer) and
TP1SYE, TP3SYE and TQ0SYE bits to 1 when respectively used as slave
timers.
TPnEST
Software trigger control
0
No operation
1
In one-shot pulse mode: One-shot pulse software trigger
In external trigger pulse output mode: Pulse output software trigger
The TPnEST bit functions as a software trigger in the one-shot pulse mode or external trigger pulse
output mode (this bit is invalid in any other mode). By setting TPnEST to 1 when TPnCE = 1, a software
trigger is issued. Therefore, be sure to set TPnEST to 1 when TPnCE = 1. The TIPn0 pin is used for an
external trigger.
The read value of the TPnEST bit is always 0.
electronic components distributor
Содержание V850E/RS1
Страница 6: ...6 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 206: ...206 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 232: ...232 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 366: ...366 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 402: ...402 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 684: ...684 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 766: ...766 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 798: ...798 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 832: ...832 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 834: ...834 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 848: ...848 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 852: ...Downloaded from Elcodis com electronic components distributor...