beautypg.com

FUJITSU F2MC-8L F202RA User Manual

Page 136

background image

120

CHAPTER 5 TIME-BASE TIMER

Table 5.3-1 Explanation of Functions of Each Bit in Time-base Timer Control Register (TBTC)

Bit name

Description

bit7

TBOF:
Overflow interrupt request
flag bit

This bit is set to "1" when the specified bit of the time-base timer counter
overflows.

An interrupt request is sent when this bit and the interrupt request enable bit
(TBIE) are both "1".

While this bit is written, it is cleared when "0" is specified, and nothing is
changed and affected when "1" is specified.

bit6

TBIE:
Interrupt request enable bit

This bit enables or disables an interrupt request to be output to the CPU. An
interrupt request is output when this bit and the overflow interrupt request flag bit
(TBOF) are both "1".

bit5

to

bit3

Unused bits

These bits are undefined when they are read.

Nothing is affected when they are written.

bit2,

bit1

TBC1, TBC0:
Time interval selection bits

These bits specify a time interval for the interval timer.

The interval timer bits of the time-base timer counter are specified.

One of four time intervals can be selected.

bit0

TBR:
Time-base timer
initialization bit

This bit clears the time-base timer counter.

The counter is cleared to 000000

H

when "0" is written to this bit, nothing is

changed and affected when "1" is written.

Note:

This bit is always "1" at the beginning of reading.

This manual is related to the following products: