Fujitsu MB90460 Series Hardware Manual page 473

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 16 PWC Timer
■ Timer Period
If the timer is started in one-shot mode after "0000
the count is discontinued if the count exceeds 65536. The following formula is used to calculate the time
from start to stop of the timer.
T
= (65536-n
1
If the timer is started after "0000
exceeds 65536. The following formula is used to calculate the reload period and the PWO pin output pulse
period.
T
= (65536-N
R
■ Count Clock and Maximum Period
In timer mode, when "0000
Table 16.6-4 lists the count clock period and maximum timer period corresponding to the machine cycle
(indicated by f in the table) at 16 MHz
Table 16.6-4
Count Clock and Period
Count clock selection
Count clock period
Maximum timer period
454
......
T
Time from start to stop (µs)
1
......
) x t
n
Timer value set in PWC0/PWC1 when the timer is started
1
1
......
t
Count clock period (µs)
" is set in PWC0/PWC1, a timer overflow occurs every time the count
H
............
T
Reload period (overflow period) (µs)
R
......
T
PWO0/PWO1 pin output pulse period (µs)
POUT
) x t
R
..........
N
Reload value stored in PWC0/PWC1
R
..............
t
Time from start to stop (µs)
" is set in PWC0/PWC1, the maximum period results.
H
When CKS1,CKS0=00
B
(φ/4)
0.25 µs
16.38 ms
" is set in PWC0/PWC1, a timer overflow occurs and
H
When CKS1,CKS0=01
B
(φ/16)
1 µs
65.5 ms
When CKS1,CKS0=10
B
(φ/32)
2 µs
131.1 ms

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents