Chapter 3 Port Functions

Port 7 (P7)

8-bit CMOS tri-state I/O port.

 

 

 

 

Table 3-1-6

Port 7 Functions

 

 

 

 

 

 

 

Pin Name

Type

Dual Function

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

P70 to P71

I/O

 

 

Each individual bit can be switched to an input or output

 

 

 

 

by the P7DIR register. A pull-up or pull-down resistor for

 

 

 

 

 

each bit can be selected individually by the P7PLU

 

 

 

 

 

register.

 

 

 

 

 

However, pull-up and pull-down resistors cannot be

 

 

 

 

 

mixed. At reset, the input mode pull-up resisters are

 

 

 

 

 

disabled

 

 

 

 

 

. 42-SDIP has no pins of P70,P71. 44-QFP has no pin of

 

 

 

 

 

p71.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Port 8 (P8)

8-bit CMOS tri-state I/O port.

 

 

 

 

 

Table 3-1-7

Port 8 Functions

 

 

 

 

 

 

 

 

 

Pin Name

Type

Dual Function

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

Each individual bit can be switched to an input or output

 

 

P80 to P87

I/O

LED0 to 7

 

 

 

by the P8DIR register. A pull-up resistor for each bit can

 

 

 

 

 

 

 

 

 

 

 

 

be selected individually by the P8PLU register. When

 

 

 

 

 

 

configured as outputs, it is possible to LED.

 

 

 

 

 

 

At reset, when single chip mode is selected, the input

 

 

 

 

 

 

mode pull-up resisters for P80 to P87 are disabled (high

 

 

 

 

 

 

impedance output).

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Port A (PA)

8-bit CMOS tri-state input port.

Table 3-1-8 Port A Functions

Pin Name

Type

Dual Function

Description

 

 

 

 

 

 

PA0 to PA7

Input

AN0 to AN7

 

A pull-up or pull-down resistor for each bit can be

 

 

 

 

 

selected individually by the PAPLUD register. However,

 

 

 

 

 

pull-up and pull-down resistors cannot be mixed.

 

 

 

 

 

At reset, the input mode pull-up resisters for PA0 to PA7

 

 

 

 

 

are disabled.

 

 

 

 

 

 

 

40 Overview

Page 54
Image 54
Panasonic MN101C00 user manual Port 7 P7, Port 7 Functions, Port 8 P8, Port 8 Functions, Port a PA, Port a Functions