Fujitsu MB91260B Series Hardware Manual page 261

32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 11 MULTIFUNCTIONAL TIMER
Table 11.4-11 16-bit Dead Timer Control Register (DTCR0)
Bit Name
DMOD0:
bit15
Output polarity
control bit
GTEN1:
bit14
GATE signal
control bit 1
GTEN0:
bit13
GATE signal
control bit 0
TMIF0:
bit12
Interrupt request
flag bit
TMIE0:
Interrupt request
bit11
enable bit,
software trigger
bit
bit10
TMD2 to TMD0:
bit9
Operating mode
bit8
bit
246
• This bit is used to set the U/V/W output in the dead time timer mode.
• Setting this bit reverses the U/V/W output polarity.
Note:
When the dead time timer mode is not selected, (TMD2: bit10 = 0), this bit has no meaning.
This bit is used to control the GATE signal output of the PPG0 timer with RT1.
This bit is used to control the GATE signal output of the PPG0 timer with RT0.
• This bit is used as an interrupt request flag of the 16-bit dead timer.
• This bit is set to "1" when the underflow of the16-bit dead timer occurs.
• Writing "0" to this bit clears this bit. Writing "1" to this bit has no effect on this bit.
• When this bit is read to a read modify write instruction, "1" is always read.
Note:
This bit works only when the register values (TMD2 to TMD0: bit10 to bit8) are 000
001
, and becomes always "0" when they are other values.
B
When a software clear (writing "0") and a hardware set (the underflow of the 16-bit dead timer
0 occurs) occur at the same time, the software clear takes precedence over the hardware set,
and this bit is cleared.
• This bit is used as a software trigger bit and an interrupt enable bit of the 16-bit dead timer.
• TMD2 to TMD0: bit10 to bit8 = 000
This bit is used as a software trigger of the 16-bit dead timer. When this bit changes from
"0" to "1", it becomes a trigger of the 16-bit dead timer, reloads the value, and starts the
down count.
• When this bit is "1" and the interrupt request flag bit (TMIF0: bit12) is "1", an interrupt
request is sent to the CPU.
Note:
If the 16-bit dead timer is set as the trigger again, be sure to write "0" to this bit first and then
write "1".
• These bits are used to select the operation mode of the waveform generator.
• TMD2 to TMD0: bit10 to bit8 = 000
The RT0 and RT1 signals of the output compare are respectively outputted from the RTO0
and RTO1. The 16-bit dead timer is also used as a reload timer.
• TMD2 to TMD0:
When bit10 to bit8 = 001
respectively from the RTO0 and RTO1 when the PPG0 output is disabled (the upper of the
PPG output control/input capture state control register (PICSH01), PGEN0: bit10 = 0,
PGEN1: bit11 = 0). The 16-bit dead timer is also used as a reload timer.
Note:
To operate the waveform generator in the dead time timer mode, be sure to select the 2 channel
mode (the upper of the compare control register (OCSH1), CMOD: bit12 = 1) for RT1.
TMD2 to TMD0: bit10 to bit8 = "111
register settings (the upper of the PPG output control/input capture state control register
(PICSH01), PGEN0: bit10 = 0, PGEN1: bit11 = 0).
Function
or 001
:
B
B
:
B
, the RT0 and RT1 signals of the output compare are outputted
B
": The RTO0 and RTO1 outputs are independent of the
B
or
B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60lite

Table of Contents