Fujitsu F2MC-8L F202RA Hardware Manual page 202

F2mc-8l 8-bit microcontroller
Hide thumbs Also See for F2MC-8L F202RA:
Table of Contents

Advertisement

CHAPTER 8 8/16-BIT CAPTURE TIMER/COUNTER
TCCR
TCR1
TCR0
TCR2
TDR1
When the counter is activated in the 8-bit mode, increment begins at the rising or falling edge of the
selected clock, starting at 00
(comparator data latch), the interrupt request bit (TCR0: TIF0 or TCR1: TIF1) of the timer 0 control
register is set to "1" and the count operation is started at 00
the data register when timer 0 is being used, the output of the square wave output control circuit toggles.
When square wave output is allowed (TCR2: PEN) and timer 0 is set to output selection (TCR2: TSEL =
0), a square wave is output from the timer output pin (TO). If the counter value matches the value set in the
data register when timer 1 is being used, the output of the square wave output control circuit toggles. When
square wave output is allowed (TCR2: PEN) and timer 1 is set to output selection (TCR2: TSEL = 1), a
square wave is output from the timer output pin (TO).
Figure 8.6-3 shows interval timer function operation in the 8-bit mode.
186
Figure 8.6-2 Setting of Interval Timer Function (Timer 1)
bit7
bit6
bit5
CFCLR CPIEN CCMSK TCMSK EDGS1 EDGS0 RESV
CPIF
TFCR1 T1IEN
TIF1
TFCR0 T0IEN
TIF0
Setting of interval time
: Used bit
: Unused bit
. When the counter value matches the value set in the data register
H
bit4
bit3
bit2
bit1
Setting of 00
TCS12 TCS11 TCS10 TSTR1
Setting of a value
other than 111
CINV
TCS02 TCS01 TCS00 TSTR0
Setting of a value
other than 111
. If the counter value matches the value set in
H
bit0
PEN
TSEL

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents