Fujitsu MB90480 Series Hardware Manual page 543

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

Table 25.3-2 Functions related to Read operations (indicating the operation state of the
16-bit up-count timer)
STRT
STOP
0
0
1
1
At reset, initialized to "00
Reading and writing are allowed. However, the meaning of the register contents is different
for write and read operations, as indicated in Table 25.3-1 and Table 25.3-2.
The reading value returned in read-modify-write instructions is fixed at "11
bit values.
Writing the STRT/STOP bit to start/stop the timer can be performed for individual bits in
order to execute bit operation instructions (bit clear). However, note that no bit operation
instruction is available to read the operation state (the result of reading is always "operation
in progress").
[bit13] EDIR (measurement end interrupt request flag)
This bit is a flag that indicates the end of measurement in pulse width measurement. By
setting this bit when measurement end interrupt sources are enabled (bit12: EDIE = 1), a
measurement end interrupt request is generated.
EDIR
Set when pulse width measurement ends (when the PWCR contains
Cause for setting
the measurement result)
Cause of clearing
Cleared when the PWCR (measurement result) is read
Initialized to "0" at reset.
Only reading is allowed.
Bit values cannot be changed by writing
[bit12] EDIE (measurement end interrupt enable)
This bit is used for control of measurement end interrupt requests when pulse width
measurement is performed as shown in the table below.
EDIE
Measurement end interrupt request output prohibited (no interrupts occur even if
0
EDIR is set) [initial value]
1
Measurement end interrupt request output allowed (interrupt occurs if EDIR is set)
Initialized to "0" at reset
Reading or writing is allowed.
CHAPTER 25 PWC TIMER (ONLY MB90485 SERIES)
Operation control function
Timer stop mode (not started or end of measurement)
(initial value)
Timer count operation mode (measurement in progress)
".
B
Cause of setting or clearing
Operation
" regardless of all
B
521

Advertisement

Table of Contents
loading

Table of Contents