Port P5 And Port P6 Direction Registers - Renesas 7700 FAMILY User Manual

Mitsubishi 16-bit single-chip microcomputer
Table of Contents

Advertisement

TIMER A
5.2 Block description

5.2.5 Port P5 and port P6 direction registers

The I/O pins of Timers A0 to A3 are shared with port P5, and the I/O pins of Timer A4 are shared with
port P6. When using these pins as Timer Ai's input pins, set the corresponding bits of the port P5 and port
P6 direction registers to "0" to set these ports for the input mode. When used as Timer Ai's output pins,
these pins are forcibly set to output pins of Timer Ai regardless of the direction registers's contents. Figure
5.2.5 shows the relationship between the port P5 and port P6 direction registers and the Timer Ai's I/O
pins.
b7
b6
b5
b4
b3
b7
b6
b5
b4
b3
Fig. 5.2.5 Relationship between port P5 and port P6 direction registers and Timer Ai's I/O pins
5–8
b2
b1
b0
Port P5 direction register (Address D
Bit
Corresponding pin name
TA0
0
OUT
TA0
1
IN
TA1
2
OUT
TA1
3
IN
TA2
4
OUT
TA2
5
IN
TA3
6
OUT
TA3
7
IN
b2
b1
b0
Port P6 direction register (Address 10
Bit
Corresponding pin name
TA4
0
OUT
1
TA4
IN
2
INT
pin
0
3
INT
pin
1
4
INT
pin
2
5
TB0
IN
6
TB1
IN
TB2
7
IN
: Bits 7 to 2 are not used for Timer A.
7751 Group User's Manual
pin
0: Input mode
1: Output mode
pin
When using these pins as
Timer Ai's input pins, set the
pin
corresponding bits to "0."
pin
pin
pin
pin
pin
pin
0: Input mode
1: Output mode
pin
When using these pins as
Timer Ai's input pins, set the
corresponding bits to "0."
pin
pin
pin
)
16
Functions
At reset
)
16
Functions
At reset
RW
RW
0
RW
0
RW
0
RW
0
RW
0
RW
0
RW
0
RW
0
RW
RW
0
RW
0
RW
0
RW
0
RW
0
RW
0
RW
0
RW
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

7751 series

Table of Contents