7.11 Notes On Using 8/16-Bit Timer/Counter; Figure 7.11-1 Operation When Timer Stop Bit Is Used - Fujitsu F2MC-8L Series Hardware Manual

8-bit microcontroller
Hide thumbs Also See for F2MC-8L Series:
Table of Contents

Advertisement

7.11 Notes on Using 8/16-bit Timer/Counter

This section lists points to note when using the 8/16-bit timer/counter.
Notes on Using 8/16-bit Timer/Counter
Notes on stopping the timer
Although the following description is for timer 1, it also applies to timer 2 in the same way.
The counter value is incremented by "1" if the input clock level is "L" when the timer is paused
by the T1STP bit. The counter value may also be incremented by "1" if the input clock level is
"L" when "00
After pausing the timer using the T1STP bit, read the counter value and then write "0" to the
T1STR bit.
Input clock to timer
(EC, internal clock)
Counter value
T1STP, T1STR bits
(T1CR register)
Error
Activating the 8/16-bit timer/counter by program is not synchronized with the start of counting-up
using the selected count clock. Therefore, the time until the counter value matches the data
settings may be shorter than the theoretical time by a maximum of one count clock cycle.
" is simultaneously written to the T1STP and T1STR bits after pausing the timer.
B

Figure 7.11-1 Operation When Timer Stop Bit is Used

Input clock at "L" level
01
H
01
Pause
7.11 Notes on Using 8/16-bit Timer/Counter
02
01
H
H
11
00
Stop
Input clock at "H" leve
02
03
H
H
11
01
Pause
Stop
04
H
00
187

Advertisement

Table of Contents
loading

Table of Contents