Fujitsu F2MC-16LX Hardware Manual page 388

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

Advertisement

CHAPTER 15 PWC TIMER
Pulse width measurement mode
In the state of measurement starting edge waiting there is no influence in the operation. During the
measurement, the count is stopped and the measurement start edge is again waited. In this case, if the
measurement termination edge detection and the restart occur at the same time, the measurement
termination flag (EDIR) is set and the result is transferred to PWCR in the continuous measurement mode.
Stops
In the one-shot timer mode and the single measurement mode, the timer overflow or the measurement
termination automatically stops the count and no intentional stop is necessary. In the other modes, however,
the timer must be forcibly stopped. Similarly, if you want to stop the timer before the automatic stop, you
must forcibly stop it.
Check Operating State
When the above-mentioned STRT and STOP bits are read, they are functional as the operating state
indication bits.
Table 15.3-4 shows the function of operating state indication bit.
Table 15.3-4 Function of Operating State Indication Bit
STRT
0
1
Note:
Reading either the STRT or STOP bit provides a same value. Do not use, however, the read-modify-
write instructions (bit process instructions, etc.) to read the STRT and STOP bits because "11
always results.
372
STOP
Timer stop (excluding status of waiting for measurement start edge):
0
It is not active or shows that the measurement ended.
1
During timer counting or waiting for measurement start edge
Operating State
"
B

Advertisement

Table of Contents
loading

Table of Contents