Fujitsu MB91260B Series Hardware Manual page 265

32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 11 MULTIFUNCTIONAL TIMER
Table 11.4-13 16-bit Dead Timer Control Register (DTCR2)
Bit Name
DMOD2:
bit15
Output polarity
control bit
GTEN5:
bit14
GATE signal
control bit 5
GTEN4:
bit13
GATE signal
control bit 4
TMIF2:
bit12
Interrupt request
flag bit
TMIE2:
Interrupt request
bit11
enable bit,
software trigger
bit
bit10
TMD8 to TMD6:
bit9
Operating mode
bit8
bit
250
• 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, (TMD8: bit10 = 0), this bit has no meaning.
This bit is used to control the GATE signal output of the PPG0 timer with RT5.
This bit is used to control the GATE signal output of the PPG0 timer with RT4.
• 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 (TMD8 to TMD6: 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 2 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.
• TMD8 to TMD6: bit10 to bit8 = 000
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 (TMIF2: 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.
• TMD8 to TMD6: bit10 to bit8 = 000
The RT4 and RT5 signals of the output compare are respectively outputted from the RTO4
and RTO5. The 16-bit dead timer is also used as a reload timer.
• TMD8 to TMD6:
When the bit10 to bit8 = 001
outputted respectively from the RTO4 and RTO5 when the PPG0 output is disabled (the
upper of the PPG output control/input capture state control register (PICSH01), PGEN4:
bit14 = 0, PGEN5: bit15 = 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 (OCSH5), CMOD: bit12 = 1) for
RT5.
TMD8 to TMD6: bit10 to bit8 = 111
register settings (the upper of the PPG output control/input capture state control register
(PICSH01), PGEN4: bit14 = 0, PGEN5: bit15 = 0).
Function
or 001
: This bit is used as a software trigger of the
B
B
:
B
, the RT4 and RT5 signals of the output compare are
B
: The RTO4 and RTO5 outputs are independent of the
B
or
B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60lite

Table of Contents