Operating Description Of Interval Timer Function (One-Shot 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.7
Operating Description of Interval Timer Function (One-
shot Mode)
This section describes the operations of the interval timer function (one-shot mode) for
the 8/16-bit composite timer.
Operation of Interval Timer Function (One-shot Mode)
The composite timer requires the register settings shown in Figure 16.7-1 to serve as the interval timer
function.
T00/01CR0
T00/01CR1
TMCR
T00/01DR
In interval timer function (one-shot mode), enabling timer operation (T00CR0/T00CR1:STA = 1) causes
the counter to start counting from "00
counter value matches the value of the 8/16-bit composite timer 00/01 data register (T00DR/T01DR), the
timer output (TMCR0:TO0/TO1) is inverted, the interrupt flag (T00CR1/T01CR1:IF) is set to "1" and the
start bit (T00CR0/T00CR1:STA) is set to "0", and then the count operation stops.
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 when the counter starts counting.
Writing "00
Figure 16.7-2 shows the operation of the interval timer function in the 8-bit operation.
256
Figure 16.7-1 Settings of Interval Timer Function
bit7
bit6
bit5
IFE
C2
C1
STA
HO
IE
1
TO1
TO0
IIS
×
Sets interval timer (counter compare value)
: Used bit
×: Unused bit
1: Set "1"
0: Set "0"
" to the 8/16-bit composite timer 00/01 data register is prohibited.
H
bit4
bit3
bit2
C0
F3
0
IR
BF
×
×
MOD
FE11
FE10
" at the rising edge of a selected count clock signal. When the
H
bit1
bit0
F2
F1
F0
0
0
0
IF
SO
OE
FE01
FE00

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents