Fujitsu MB90460 Series Hardware Manual page 334

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

Table 14.4-9 16-bit Timer Control Registers (DTCR0/DTCR2) bit
Bit name
DMOD:
bit7
Output polarity
control bit
GTEN1:
bit6
GATE signal
control bit 1
GTEN0:
bit5
GATE signal
control bit 0
TMIF:
bit4
Interrupt request
flag bit
TMIE:
Interrupt request
bit3
enable / software
trigger bit
bit2
TMD2 to TMD0:
to
Operation mode
bit0
bits
• 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 (bit2: TMD2 = 0).
• This bit is used to control the GATE signal output for PPG timer 0 by RT1/RT5.
• This bit is used to control the GATE signal output of PPG timer 0 by RT0/RT4.
• This bit is used as an interrupt request flag for 16-bit timers.
• This bit will be set to "1" when 16-bit timer 0/2 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 0/2 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 0/
2.
• When TMD22 to TMD0=000
timer. 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 (bit4: 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=000
RTO0/RTO4 and RTO1/RTO5 respectively. And 16-bit timer can be used as reload
timer.
• When TMD2 to TMD0=001
RTO0/RTO4 and RTO1/RTO5 respectively if PPG0 output is disabled
(PICSH01:PGEN0/PGEN4=0, PGEN1/PGEN5=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 RT1/RT5 (OCS1/OCS5:CMOD=1)
• When TMD2 to TMD0=111
independent of setting in PICSH01:PGEN0/PGEN4,PGEN1/PGEN5.
CHAPTER 14 MULTI-FUNCTIONAL TIMER
Function
or 001
, this bit is used as software trigger for 16-bit
B
B
, output compare RT0/RT4 and RT1/RT5 outputs to
B
, output compare RT0/RT4 and RT1/RT5 outputs to
B
is selected, RTO0/RTO4 and RTO1/RTO5 output are
B
or 001
. In other modes, this
B
B
315

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents