Timer 0 Control Register (Tcr0) - Fujitsu F2MC-8L F202RA Hardware Manual

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

Advertisement

8.4.2

Timer 0 Control Register (TCR0)

The timer 0 control register (TCR0) is used to select functions, allow and prohibit
operation, control interrupts, and check interrupt states in timer 0 for the 8-bit mode of
the 8/16-bit capture timer/counter or in the 16-bit mode. Even if only timer 0 is used in
the 8-bit mode, the timer 1 control register (TCR1) must be initialized.
Timer 0 Control Register (TCR0)
bit7
Address
001B
TIF0
H
R
R/W : Readable/Writable
R
: Read only
: Initial value
Figure 8.4-3 Timer 0 Control Register (TCR0)
bit6
bit5
bit4
bit3
bit2
TFCR0 T0IEN
CINV TCS02 TCS01 TCS00 TSTR0
R/W
R/W
R/W
R/W
TSTR0
0
1
TCS02 TCS01 TCS00
0
0
0
0
1
1
1
1
t
: Instruction cycle (Affected by the clock mode and others.)
INST
CINV
0
1
T0IEN
0
1
TFCR0
0
1
TIF0
0
1
CHAPTER 8 8/16-BIT CAPTURE TIMER/COUNTER
bit1
bit0
Initial value
00000000
R/W
R/W
R/W
Timer start bit
The counter operation is stopped.
The counter is cleared and increment starts.
Clock source selection bits (oscillation: 12.5 MHz)
0
0
0
1
1
0
1
1
0
0
1
0
1
0
1
1
Count clock selection bit
The counter is incremented at the falling edge of a selected
clock source.
The counter is incremented at the rising edge of a selected
clock source.
Interrupt request enable bit
Interrupt request output is prohibited.
Interrupt request output is allowed.
Compare match detection flag clear bit
Not affected (at read, always "0")
The compare match detection flag is cleared.
Compare match detection flag bit
No compare match has occurred.
A compare match occurred.
B
[0.64 µs]
2t
INST
[1.28 µs]
4t
INST
[5.12 µs]
16t
INST
[20.48 µs]
64t
INST
[40.96 µs]
128t
INST
[81.92 µs]
256t
INST
[163.84 µs]
512t
INST
External clock
173

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents