335
Chapter 10
16-bit Inverter Timer/Counter R
User’s Manual U16580EE3V1UD00
(9)
TMRn option register 1 (TRnOPT1)
The TRnOPT1 register is an 8-bit register used to enable/disable peak/valley interrupts and set
interrupt thinning out.
This register can be read and written in 16-bit or 8-bit units.
RESET input clears this register to 00H.
Cautions: 1. The TRnOPT1 register write method is as follows.
•
In high-accuracy T-PWM mode: Anytime write, or reload write
•
In mode other than high-accuracy T-PWM mode: Reload write
2. Do not set TRnICE = 0 and TRnIOE = 0.
Since reload does not occur when TRnICE, TRnIOE = 00, the TRnOPT1 register,
which is a reload write register, stops being updated.
Figure 10-20:
TMRn Option Register 1 (TRnOPT1) (1/2)
Remark:
n = 0, 1
After reset:
00H
R/W
Address:
TR0OPT1 FFFFF58EH
TR1OPT1 FFFFF5CEH
7
6
5
4
3
2
1
0
TRnOPT1
TRnICE
TRnIOE
TRnRDE
TRnID4
TRnID3
TRnID2
TRnID1
TRnID0
(n = 0, 1)
TRnICE
Peak Interrupts (INTTRnCD) Control
0
Disable peak interrupt (INTTRnCD) output in the counter’s peak timing
Interrupt thinning out is not performed.
Reload operation is disabled in the counter’s peak timing.
1
Enable peak interrupt (INTTRnCD) in the counter’s peak timing
Interrupt thinning out is performed.
Reload operation is enabled in the counter’s peak timing.
Remark:
Bit TRnICE is valid only in the PWM mode, high-accuracy T-PWM mode, and
PWM mode with dead time.
TRnIOE
Valley Interrupt (INTTRnOD) Control
0
Disable valley interrupt (INTTRnOD) output in the counter’s valley timing
Reload operation is disabled in the counter’s valley timing.
1
Enable valley interrupt (INTTRnOD) output in the counter’s valley timing
Reload operation is enabled in the counter’s valley timing.
Remark:
Bit TRnIOE is valid only in the high-accuracy T-PWM mode and triangular
wave PWM mode.
Содержание 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: ......