16-Bit Timer Control Register (Dtcr0/Dtcr1/Dtcr2) - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 14 MULTI-FUNCTIONAL TIMER
14.4.9

16-bit Timer Control Register (DTCR0/DTCR1/DTCR2)

16-bit timer control registers (DTCR0/DTCR1/DTCR2) are used to control the operation
mode, interrupt request enable, interrupt request flag, GATE signal enable and output
level polarity for the waveform generator.
■ 16-bit Timer Control Register (DTCR0/DTCR2)
Address
bit 7
ch.0: 000056
DMOD GTEN1 GTEN0 TMIF TMIE TMD2 TMD1 TMD0 00000000
H
ch.2: 000058
H
R/W
R/W : Read and Write
: Initial value
314
Figure 14.4-20 16-bit Timer Control Register (DTCR1)
6
5
4
R/W
R/W
R/W
TMD2 TMD1 TMD0
GTEN0
GTEN1
DMOD
3
2
1
R/W
R/W
R/W
R/W
0
0
0
0
0
1
PPG timer 0 output pulse while RT signal is "H".
The rising edge of each RT signal will trigger
0
1
0
16-bit timer to start. PPG timer 0 output pulse
until the 16-bit timer stopped. (Timer mode)
Generate non-overlap signal by RT signal.
1
0
0
Generate non-overlap signal by PPG timer 0.
1
1
1
Others
TMIE
Interrupt request enable bit
0
Disable an interrupt when the 16-bit timer underflow
1
Enable an interrupt when the 16-bit timer underflow
Interrupt request flag bit
TMIF
Read
0
No counter underflow detected
1
Counter underflow detected
GATE signal control bit 0
0
GATE signal is not controlled by RT0/RT4 (asynchronous mode)
1
GATE signal is controlled by RT0/RT4 (synchronous mode)
GATE signal control bit 1
0
GATE signal is not controlled by RT1/RT5 (asynchronous mode)
1
GATE signal is controlled by RT1/RT5 (synchronous mode)
Output polarity control bit
0
Normal polarity output
1
Inverted polarity output
0
Initial value
B
Operation mode bit
Waveform generator is stopped.
(Dead-time timer mode)
(Dead-time timer mode)
Prohibited
Write
Clear this bit
No effect

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents