Operating Description Of Interval Timer Function (Free-Run Mode) - Fujitsu F2MC-8FX Hardware Manual

F2mc-8fx 8-bit microcontroller
Hide thumbs Also See for F2MC-8FX:
Table of Contents

Advertisement

CHAPTER 16 8/16-BIT COMPOSITE TIMER
16.9
Operating Description of Interval Timer Function (Free-run
Mode)
This section describes the operation of the interval timer function (free-run mode) for
the 8/16-bit composite timer.
Operation of Interval Timer Function (Free-run Mode)
The composite timer requires the settings shown in Figure 16.9-1 to serve as the interval timer function
(free-run mode).
Figure 16.9-1 Settings for Interval Timer Function (Free-run Mode)
T00/01CR0
T00/01CR1
TMCR
T00/01DR
In interval timer function (free-run mode), enabling timer operation (T00CR0/T00CR1:STA = 1) causes the
counter to start counting from "00
value matches the value in the 8/16-bit composite timer 00/01 data register (T00DR/T01DR), the timer
output bit (TMCR0:TO0/TO1) is inverted and the interrupt flag (T00CR1/T01CR1:IF) is set to "1". The
counter continues to count, and when the count value reaches "FF
continue. The timer outputs a square wave as a result of this continuous operation.
The value of the 8/16-bit composite timer 00/01 data register (T00DR/T01DR) is transferred to the
temporary storage latch (comparison data storage latch) in the comparator either when the counter starts
counting or when a counter value comparison match is detected. Writing "00
timer 00/01 data register is prohibited.
When the timer stops operation, the timer output bit (TMCR0:TO0/TO1) holds the last value.
260
bit7
bit6
bit5
IFE
C2
C1
STA
HO
IE
1
TO1
TO0
IIS
×
Sets interval time (counter compare value)
: Used bit
×: Unused bit
1: Set "1"
0: Set "0"
" at the rising edge of a selected count clock signal. When the counter
H
bit4
bit3
bit2
C0
F3
F2
0
0
IR
BF
IF
×
×
MOD
FE11
FE10
bit1
bit0
F1
F0
1
0
SO
OE
FE01
FE00
", it restarts counting at "00
H
" to the 8/16-bit composite
H
" to
H

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents