Timer Output Control Register (Tcr2) - 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.4

Timer Output Control Register (TCR2)

The timer output control register (TCR2) is used to allow and prohibit the square wave
output of the 8/16-bit capture timer/counter and select timer 0 output and timer 1 output.
Timer Output Control Register (TCR2)
Address
bit7
bit6
0020
H
R/W : Readable/Writable
: Initial value
Table 8.4-4 Explanation of Functions of Each Bit in Timer Output Control Register (TCR2)
Bit name
bit7
to
Unused bits
bit2
PEN:
bit1
Port output enable bit
TSEL:
bit0
Timer output selection bit
Figure 8.4-5 Timer Output Control Register (TCR2)
bit5
bit4
bit3
bit2
TSEL
Timer 0 output in the 8-bit mode or output in the 16-bit mode
0
is selected.
1
Timer 1 output in the 8-bit mode is selected.
PEN
0
The P34/TO/INT10 pin acts as the general-purpose port (P34).
The P34/TO/INT10 pin acts as the square wave output pin
1
of the 8/16-bit capture timer/counter.
At read, the values of these bits are undefined.
At write, these bits do not affect operation.
When this bit is "0", the P34/TO/INT10 pin acts as the general-
purpose port (P34). When "1", it acts as the square wave output pin
(TO).
When this bit is "0", timer 0 output in the 8-bit mode or output in the
16-bit mode is selected. In this case, data is output from the TO pin.
When "1", timer 1 output in the 8-bit mode is selected. In this case,
data is also output from the TO pin.
CHAPTER 8 8/16-BIT CAPTURE TIMER/COUNTER
bit1
bit0
Initial value
PEN TSEL
------00
B
R/W
R/W
Timer output selection bit
Port output enable bit
Function
177

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents