Fujitsu F2MC-16LX Hardware Manual page 309

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

Advertisement

I Timer interval
In one-shot operation mode, after PWCR is set to 0000
generated after the count 65536 is reached and counting will stop. The time that elapses from
start to stop can be calculated with the following formula:
T
= (65536 - n
1
Where
T
: time from start to stop [µs]
1
n
: timer value stored in the PWCR at the start
1
t: count clock interval [µ]s
In reload operation mode, after PWCR is set to 0000
generated every time the counter reaches 65536. The reload interval time can be calculated
with the following formula:
T
= (65536 - n
R
Where
T
: reload interval (overflow interval) [µs]
R
n
: reload value stored in PWCR
R
t: count clock interval [µs]
I Count clock and maximum interval
In timer mode, the maximum interval is obtained when setting PWCR to the value 0000
Count clock interval and maximum timer interval for the case when the machine clock
(represented as Φ hereafter) is 16 MHz are shown in Table 14.3-5 "Count clock interval".
Table 14.3-5 Count clock interval
Count clock selection
Count clock interval
Maximum timer interval
) x t
1
) x t
R
CSK1, 0 = 00: (Φ Φ Φ Φ /4)
0.25 µs
16.38 ms
CHAPTER 14 PWC TIMER
to start the timer, an overflow is
H
to start the timer, an overflow will be
H
CSK1, 0 = 00: (Φ Φ Φ Φ /16)
1.0 µs
65.5 ms
.
H
CSK1, 0 = 00: (Φ Φ Φ Φ /32)
2.0 µs
131.1 ms
293

Advertisement

Table of Contents
loading

Table of Contents