beautypg.com

1 timer control status register (upper) (tccsh), Timer control status register (upper) (tccsh) – FUJITSU F2MCTM-16LX User Manual

Page 233

background image

217

CHAPTER 13 16-Bit I/O TIMER

13.3.1

Timer Control Status Register (Upper) (TCCSH)

Timer control status register (upper) selects the count clock and the conditions for
clearing the counter, enables the count operation and interrupt, and checks the
interrupt request flag.

Timer Control Status Register (Upper) (TCCSH)

Figure 13.3-1 Timer Control Status Register (Upper) (TCCSH)

TCCSH0 : 007943

H

0 X X X X X X X

B

12

13

11

10

9

8

15

14

R/W

R/W
X

ECKE

: Read/Write
: Undefined
: Indetermination
: Reset value

Address

Reset value

bit15

ECKE

External clock input enable bit

0

Use the internal clock (prescaler output).

1

Use the external clock (FRCK0 pin input).

Table 13.3-2 Function of Timer Control Status Register (Upper) (TCCSH)

Bit name

Function

bit15

ECKE :
External clock input enable bit

This bit selects the count clock of the 16-bit free-run timer.
When set to "1": Use the clock inputted from the external pin FRCK0.
When set to "0": Use the internal clock (clock outputted from the

prescaler).

Note:

Set the ECKE bit during stopping of the free-run timer
(TCCSL:STOP=1).

bit14

to

bit8

Undefined bits

Read: The value is undefined
Write: No effect