2.4 Multi-Function Timer
88
Chapter 2: Hardware
[Bits 5, 4] TOC1, TOC0: DTTI pin input condition setting bit
These bits determine input conditions by which DTTI pin signal input is used for control of 3-phase
waveform output.
When the conditions determined by these bits are met by the input signal, the DTIF bit is set. If the
TOCE bit is ‘1,’ then the six 3-phase output pins are held in inactive state.
[Bit 3] DTIE: DTTI pin input interrupt enable bit
This bit enables the DTTI pin input interrupt request.
[Bit 2] DTIF: DTTI signal input interrupt request flag
This flag is set to ‘1’ by the input at the DTTI pin of the signal enabled by the setting of the TOC0,
TOC1 bits.
To clear this bit, write ‘0.’
Writing ‘1’ to this bit has no effect, and will not change the bit value.
For read-modify-write instructions, the read value is always ‘1.’
[Bits 1, 0] DT1, DT0: Dead-time timer control bit
These bits switch the function of the dead-time timer output pins, and control the operation of non-
overlapping signal generation.
All functions controlled by the DTCR, DTSR and CTCMR registers are enabled by setting the DT1 bit
to ‘1.’
TOC1
TOC0
DTTI pin input signal conditions for 3-phase output control
0
During ‘0’ input
0
1
During ‘1’ input
1
0
From falling edge of DTTI signal, until DTIF bit is cleared
1
From rising edge of DTTI signal, until DTIF bit is cleared
DTIE
Description
0
Disable DTTI pin input interrupt request
1
Enable DTTI pin input interrupt request
DTIF
Flag setting
0
No interrupt from valid DTTI pin input
1
Interrupt from valid DTTI pin input
DT1
DT0
Pin signal
Operation
0
PWM output
Dead-time timer function in stop status
0
1
0
3-phase waveform output
Held at inactive level
1
3-phase waveform output
Non-overlapping 3-phase signal output