beautypg.com

Port 5 data register (p5dat), Port 5 control register (p5cr) byte write, Atar862-8 – Rainbow Electronics ATAR862-8 User Manual

Page 36

background image

36

ATAR862-8

4589B–4BMCU–02/03

Figure 31.

Bi-directional Port 5

Figure 32.

Port 5 External Interrupts

Port 5 Data Register (P5DAT)

Primary register address: "5"hex

Port 5 Control Register (P5CR)
Byte Write

Auxiliary register address: "5"hex

Master reset

Q

V

DD

BP5y

Mask options

*

*

P5DATy

I/O Bus

D

IN enable

I/O Bus

*

*

Switched

pull-up

Switched

pull-down

*

Static

pull-up

(Data out)

*

*

S

*

V

DD

Static
Pull-down

V

DD

Bidir. Port

Data in

IN_Enable

BP53

P53M2

P53M1

P52M2

P52M1

P51M2

P51M1

P50M2

P50M1

Decoder

Decoder

Decoder

Decoder

Bidir. Port

Data in

IN_Enable

BP52

I/O-bus

Bidir. Port

Data in

IN_Enable

BP51

I/O-bus

Bidir. Port

Data in

IN_Enable

BP50

INT1

INT6

P5CR:

Bit 3

Bit 2

Bit 1

Bit 0

P5DAT3

P5DAT2

P5DAT1

P5DAT0

Reset value: 1111b

Bit 3

Bit 2

Bit 1

Bit 0

First write cycle

P51M2

P51M1

P50M2

P50M1

Reset value: 1111b

Bit 7

Bit 6

Bit 5

Bit 4

Second write cycle

P53M2

P53M1

P52M2

P52M1

Reset value: 1111b