3 pin configurations – Panasonic MN103001G/F01K User Manual

Page 406

Advertising
background image

I/O Ports

15-40

Port 6 output mode register

Register symbol: P6MD
Address:

x'3600802C

Purpose:

This register selects the content output on the port 6 pins.

Bit No.

7

6

5

4

3

2

1

0

Bit name

-

-

-

-

P63M P62M P61M P60M

Reset

0

0

0

0

1

1

1

1

Access

R

R

R

R

R/W

R/W

R/W

R/W

When P6nM is "0", the timer input/output signal is selected. The input/output setting for the timer input/output

signal is also changed by P6nD.

15.8.3 Pin Configurations

Table 15-8-1 shows the pin configurations for port 6.

Table 15-8-1

Port 6 Configuration

Port

Pin

P6n

P6nM = "1"

P6nM = "0"

P6nD = "1"

P6nD = "0"

P6nD = "1"

P6nD = "0"

Port 6

59

P60

General-purpose output port

General-purpose input port

TM6IO

Timer 6 output

Timer 6 input

58

P61

General-purpose output port

General-purpose input port

TM7IO

Timer 7 output

Timer 7 input

57

P62

General-purpose output port

General-purpose input port

TM10IOA

Timer 10 output A

Timer 10 input A

56

P63

General-purpose output port

General-purpose input port

TM10IOB

Timer 10 output B

Timer 10 input B

[Note 1]

: When reset (whether in address/data separate mode or address/data multiplex mode)

[Note 2]
When Pin No. 56 to 59, respectively, are set as

external interrupt input pins

(IRQ3 to 0), or if pin No. 56 is set as

the

A/D conversion trigger input pin

(ADTRG), the pins must be set as a general-purpose input port as shown in

the above table.

Advertising