Fujitsu F2MC-16LX Hardware Manual page 376

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

CHAPTER 15 PWC TIMER
• Read and write are enabled. However, meanings are different between when writing and reading as
shown in Table 15.2-1 and Table 15.2-2.
• The value read by read-modify-write instructions is always "11
• Note that no bit instruction can be used for reading in the operating status (reading always produces the
operating status) although the bit instruction (bit clear) can be used for either STRT or STOP bit to start
or stop the timer.
[bit 13] EDIR (measurement end interrupt request flag)
This flag indicates the measurement termination in the pulse width measurement. When the
measurement termination interrupt factor is permitted (bit 12: EDIE = 1) and this bit is set, the
measurement termination interrupt request occurs.
EDIR
Set factor
Set when the pulse width measurement terminates (measured results are stored in PWCR).
Clear factor
Because PWCR (measurement result) is read, it is clear.
• Initialized to "0" at reset.
• Only reading is allowed.
• Bit values cannot be changed by writing.
[bit 12] EDIE (measurement end interruption permission)
Measurement termination interrupt request during the pulse width measurement is controlled as shown
in the table below:
EDIE
Measurement end interrupt request output disabled (interrupt is not generated even if EDIR is set).
0
[Initial value]
1
Measurement end interrupt request output enabled (interrupt is generated if EDIR is set).
• Initialized to "0" at reset.
• Reading or writing is allowed.
[bit 11] OVIR (timer overflow interrupt request flag)
This flag indicates the 16-bit up count timer overflowed from FFFF
overflow interrupt factor is permitted (bit 10: OVIE = "1") and this bit is set, the timer overflow
interrupt request occurs.
OVIR
Set factor
Clear factor
• Initialized to "0" at reset.
• Reading and writing are allowed; however, only writing "0" is effective, while writing "1" causes no
changes in the bit value.
• The read value is "1" in the read-modify write instructions regardless of the bit value.
360
Operation mode
Operation mode
Set when the overflow generates (FFFF
It is clear because of "0" writing or µDMAC.
" regardless of the bit value.
B
Operation mode
to 0000
).
H
H
to 0000
. When the timer
H
H

Advertisement

Table of Contents
loading

Table of Contents