Operating Description Of Interval Timer Function (Continuous 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.8
Operating Description of Interval Timer Function
(Continuous Mode)
This section describes the interval timer function (continuous mode operation) of
the 8/16-bit composite timer.
Operation of Interval Timer Function (Continuous Mode)
The composite timer requires the register settings shown in Figure 16.8-1 to serve as the interval timer
function (continuous mode).
T00/01CR0
T00/01CR1
TMCR
T00/01DR
In interval timer function (continuous mode), enabling timer operation (T00CR0/T00CR1:STA = 1) causes
the counter to start counting from "00
counter 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, the interrupt flag (T00CR1/T01CR1:IF) is set to "1", and
the counter continues to count by restarting at "00
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 disabled during the count operation.
When the timer stops operation, the timer output bit (TMCR0:TO0/TO1) holds the last value.
258
Figure 16.8-1 Settings for Counter Function (8-bit Mode)
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"
bit4
bit3
bit2
C0
F3
0
IR
BF
×
×
MOD
FE11
FE10
" at the rising edge of a selected count clock signal. When the
H
". The timer outputs a square wave as a result of this
H
bit1
bit0
F2
F1
F0
0
0
1
IF
SO
OE
FE01
FE00
" to the 8/16-bit composite
H

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents