REGISTERS

Px_MODE

Px_MODE

x = 2, 5 (8XC196MC)

x = 2, 5, 7 (8XC196MD) x = 1, 2, 5 (8XC196MH)

Address: Table C-7 Reset State:

Each bit of the port x mode (Px_MODE) register controls whether the corresponding pin functions as a standard I/O port pin or as a special-function signal.

 

7

 

 

 

x = 1 (MH)

 

 

 

 

 

 

7

 

 

 

x = 2, 5 (Mx)

 

 

 

 

PIN7

PIN6

PIN5

PIN4

 

7

 

 

 

x = 7 (MD)

 

 

 

 

PIN7

PIN6

PIN5

PIN4

 

 

 

 

 

0

PIN3

PIN2

PIN1

PIN0

 

 

 

0

 

 

 

 

PIN3

PIN2

PIN1

PIN0

 

 

 

0

 

 

 

 

PIN3

PIN2

PIN1

PIN0

 

 

 

 

Bit

Bit

 

Function

Number

Mnemonic

 

 

 

 

 

 

7:0

PIN7:0

Port x Pin y Mode

 

 

This bit determines the mode of the corresponding port pin:

 

 

0

= standard I/O port pin

 

 

1

= special-function signal

 

 

Table C-8 lists the special-function signals for each pin.

 

 

 

 

The bits shown as dashes (—) are reserved; for compatibility with future devices, write zeros to these bits.

Table C-7. Px_MODE Addresses and Reset Values

Register

Address

Reset Value

 

 

 

P1_MODE (8XC196MH)

1F99H

00H

 

 

 

P2_MODE (8XC196Mx)

1FD0H

00H

 

 

 

P5_MODE (8XC196MC, MD)

1FF1H

FFH when pin is not driven

P5_MODE (8XC196MH)

1FF1H

80H if the EA# pin is high, A9H if EA# is low

 

 

 

P7_MODE (8XC196MD)

1FD1H

00H

 

 

 

C-31

Page 508
Image 508
Intel 8XC196MH, 8XC196MD, 8XC196MC Table C-7. PxMODE Addresses and Reset Values, = 1 MH = 2, 5 Mx, PIN7 PIN6 PIN5 PIN4