Fujitsu F2MC-16LX Hardware Manual page 297

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

Advertisement

[Bit 3] S/C (Selection of Measurement Mode (one-shot/repeated))
This bit is used to select the measurement mode.
Table 14.2-5 Selection of the measurement mode of the 16-bit up-count timer
S/C
Measurement mode selection
One-shot measurement mode
0
[initial value]
Repeated measurement mode
1
Initialized to "0" at reset.
Reading and writing are allowed.
Rewriting after timer start is prohibited. Write always either before the timer is started or after
the timer is stopped.
[Bits 2, 1, 0] MOD2, MOD1, MOD0 (Selection of operation mode or measurement edge)
These bits are used to select the operation mode and an edge at which width measurement
is performed.
Table 14.2-6 Selection of operation mode or measurement edge for the 16-bit up-count timer
MOD2
MOD1
MOD0
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
Initialized to 00
Reading and writing are allowed.
Note:
Rewriting immediately after timer start is prohibited. Write always either before the timer is
started or after the timer is stopped.
Timer mode
No reload (one-shot)
With reload (reload timer)
Selection of operation mode/measurement edge
Timer mode [initial value]
Timer mode (reload mode only)
Pulse width measurement mode between all edges (rising edge or falling edge
to falling edge or rising edge)
Divide interval measurement mode (input divide enabled)
Interval measurement mode between rising edges (rising edge to rising edge)
"H"-level pulse width measurement mode (rising edge to falling edge)
"L"-level pulse width measurement mode (falling edge to rising edge)
Interval measurement mode between falling edges (falling edge to falling edge)
at reset.
B
CHAPTER 14 PWC TIMER
Pulse width
Stopped after one-time
measurement
Repeated measurement: buffer
register enabled
281

Advertisement

Table of Contents
loading

Table of Contents