beautypg.com

FUJITSU F2MC-8L F202RA User Manual

Page 201

background image

185

CHAPTER 8 8/16-BIT CAPTURE TIMER/COUNTER

8.6

Explanation of Operations of Interval Timer Functions

This section describes the interval timer function operation of the 8/16-bit capture timer/
counter.

Interval Timer Function Operation

8-bit mode

To operate timer 0 as the interval timer function in the 8-bit mode, the function must be set as shown in

Figure 8.6-1 .

Figure 8.6-1 Setting of Interval Timer Function (Timer 0)

To operate timer 1 as the interval timer function in the 8-bit mode, the function must be set as shown in

Figure 8.6-2 .

bit7

bit6

bit5

bit4

bit3

bit2

bit1

bit0

TCCR

CPIF

CFCLR CPIEN CCMSK TCMSK EDGS1 EDGS0 RESV

TCR1

TIF1

TFCR1 T1IEN

TCS12 TCS11 TCS10 TSTR1

TCR0

TIF0

TFCR0

T0IEN

CINV

TCS02 TCS01 TCS00 TSTR0

TCR2

PEN

TSEL

TDR0

: Used bit
: Unused bit

Setting of 00

Setting of a value
other than 111

Setting of interval time

Setting of a value
other than 111

This manual is related to the following products: