Fujitsu MB90460 Series Hardware Manual page 336

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

Table 14.4-10 16-bit Timer Control Registers (DTCR1) bit
Bit name
DMOD:
bit15
Output polarity
control bit
GTEN1:
bit14
GATE signal
control bit 1
GTEN0:
bit13
GATE signal
control bit 0
TMIF:
Interrupt
bit12
request
flag bit
TMIE:
Interrupt
bit11
request
enable bit
TMD2 to
bit10
TMD0:
to
Operation mode
bit8
bit
• This bit is used to set the output polarity of U/V/W in dead-time timer mode.
• By setting this bit, the output polarity of U/V/W is inverted.
(Note)
This bit is meaningless when dead-time timer mode is not selected (bit10: TMD2 = 0).
• This bit is used to control the GATE signal output for PPG timer 0 by RT3.
• This bit is used to control the GATE signal output of PPG timer 0 by RT2.
• This bit is used as an interrupt request flag for 16-bit timers.
• This bit will be set to "1" when 16-bit timer 1 is underflow.
• Writing "0" will clear this bit.
• Writing "1" has no effect.
• In read-modify-write operation, "1" is always read.
(Notes)
• This bit functions only in mode TMD2 to TMD0=000
bit is always "0".
• If both software clear (writing "0") and hardware set (16-bit timer 1 underflow) occurs
simultaneously, software clear takes the higher priority to clear this bit.
• This bit is used as the software trigger bit and interrupt enable bit for the 16-bit timer.
• When TMD2 to TMD0=000
Setting this bit from "0" to "1" trigger the 16-bit timer to reload and starts down-counting.
• When this bit is "1" and the interrupt flag bit (bit12: TIMF) is "1", an interrupt request is
sent to CPU.
(Note)
To retrigger the 16-bit timer, be sure to write "0" before write "1" to this bit.
• These bits are used to select the operation mode of the waveform generator.
• When TMD2 to TMD0=000B, output compare RT2 and RT3 outputs to RTO2 and RTO3
respectively. And 16-bit timer can be used as reload timer.
• When TMD2 to TMD0=001
respectively if PPG0 output is disabled (PICSH01:PGEN2=0, PGEN3=0). And 16-bit
timer can be used as reload timer.
(Notes)
• To operate the waveform generator in dead-time timer mode, be sure to select 2-
channel mode for RT3 (OCS3:CMOD=1)
• When TMD2 to TMD0=111
setting in PICSH01:PGEN2,PGEN3.
CHAPTER 14 MULTI-FUNCTIONAL TIMER
Function
or 001
, this bit is used as software trigger for 16-bit timer.
B
B
, output compare RT2 and RT3 outputs to RTO2 and RTO3
B
is selected, RTO2 and RTO3 output are independent of
B
or 001
. In other modes, this
B
B
317

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents