Fujitsu FR81S Manuale Utente
CHAPTER 48: WAVEFORM GENERATOR
4. Registers
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER : WAVEFORM GENERATOR
FUJITSU SEMICONDUCTOR CONFIDENTIAL
17
[bit4] TMIF2: Interrupt request flag bit
TMIF2
Function
Read
Write
0
No counter underflow has been detected.
This bit is cleared.
1
A counter underflow has been detected.
This bit remains unaffected.
⋅
This bit is used as an interrupt request flag for the 16-bit dead timer.
⋅
This bit is set to "1" when an underflow occurs at the 16-bit dead timer.
⋅
When this bit is set to "0", this bit is cleared. Writing "1" to this bit does not have any effects on this bit.
⋅
This bit will be cleared when the dead timer interrupt clear signal is "H".
Notes:
If a read-modify-write (RMW) instruction is executed, "1" is always read.
This bit functions only when the TMD8 to TMD6: bit10 to bit8 are "000
B
" or "001
B
". Otherwise, the bit is
always "0".
If a software clear (write of "0") or a clear by an interrupt clear signal ("H") and a hardware set (an
underflow occurs at the 16-bit dead timer 2) occur at the same time, the hardware set has a priority over the
software clear or the clear by interrupt clear signal. Then, this bit will be set.
[bit3] TMIE2: Interrupt request enable bit, software trigger bit
TMIE2
Function
0
An interrupt will not be generated even when an underflow occurs at the 16-bit dead
timer.
1
An interrupt will be generated when an underflow occurs at the 16-bit dead timer.
⋅
This bit is used as a software trigger bit and an interrupt enable bit for the 16-bit dead timer.
⋅
When TMD8 to TMD6: bit10 to bit8 are "000
B
" or "001
B
", this bit will be used as a software trigger for
the 16-bit dead timer. When this bit is changed from "0" to "1", it will function as a trigger for the 16-bit
dead timer and reload the value to start the down count.
⋅
When this bit is set to "1" and the interrupt request flag bit (TMIF2: bit12) is "1", an interrupt request
will be transmitted to the CPU.
Note:
If you have the 16-bit dead timer triggered again, make sure to write "0" to this bit before writing "1" to it.
MB91520 Series
MN705-00010-1v0-E
2062