![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_345.png)
MB90560 series
CHAPTER 12 MULTI-FUNCTION TIMER
321
Table 12.3.5.2-1 8-bit Timer Control Registers (DTCR0/1/2) Bit
Bit
Function
Bit 15
DMOD:
Output polarity
control
bit
This bit is used to set the output polarity when using 8-bit timer
as dead-time timer.
By setting this bit, it is possible to invert the output polarity.
If 8-bit timer is not set for dead-time timer operation
(Bit11:TMD2=0), setting this bit has no effect.
Bit 14
GTEN:
GATE signal
enable
bit
This bits is used to enable the GATE signal output for PPG
timer operation.
Bit 13
PGEN:
PPG output
enable
bit
This bit is used to enable the output of PPG timers to RTO0~5
pins.
Bit 12
TMIF:
Interrupt request
flag
bit
This bit is used as an interrupt request flag for 8-bit timers.
This bit will be set to “1” when 8-bit timer is underflow.
Writing “0” will clear this bit. Writing “1” has no effect.
In Read-Modify-Write operation, “1” is always read.
Bit 11
TMIE:
Interrupt request
enable
bit
This bit is used as the start bit and the interrupt enable bit for
the 8-bit timer.
Writing “1” to this bit will start the operation for the 8-bit timer.
When this bit is “1” and the interrupt flag bit (Bit12:TIMF) is “1”,
an interrupt is generated.
Note:
Bit2~0:TMD2~0 is “000B” is the condition for using the
8-bit timer as reload timer.
Bit 10
Bit 9
Bit 8
TMD2~0:
Operation mode
bit
These bit are used to select the operation mode of the
waveform generator.
Note:
In PPG timers, the channel is set by waveform control
register.
Note:
Setting TMD2:0 other than ‘000’, ‘0001’, ‘010’, ‘100’
and ‘111’ is prohibited. Other setting will cause an
error. When operating in dead time timer mode, the
operation mode of RTO1/3/5 must set by 2ch mode.