Table 9-8. Parallel Port D Register functions

 

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

 

 

 

 

 

 

 

 

 

PDDR (R/W)

PD7

PD6

PD5

PD4

PD3

PD2

PD1

PD0

adr = 0x060

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PDDCR (W)

out =

out =

out =

out =

out =

out =

out =

out =

open

open

open

open

open

open

open

open

adr = 0x066

drain

drain

drain

drain

drain

drain

drain

drain

 

 

 

 

 

 

 

 

 

 

PDFR (W)

x

alt TXA

x

alt TXB

x

x

x

x

adr = 0x065

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PDDDR (W)

dir =

dir =

dir =

dir =

dir =

dir =

dir =

dir =

adr = 0x067

out

out

out

out

out

out

out

out

 

 

 

 

 

 

 

 

 

PDB0R (W)

x

x

x

x

x

x

x

PD0

adr = 0x068

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PDB1R (W)

x

x

x

x

x

x

PD1

x

adr = 0x069

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PDB2R (W)

x

x

x

x

x

PD2

x

x

adr =0x 06A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PDB3R (W)

x

x

x

x

PD3

x

x

x

adr = 0x06B

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PDB4R (W)

x

x

x

PD4

x

x

x

x

adr = 0x06C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PDB5R (W)

x

x

PD5

x

x

x

x

x

adr = 0x06D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PDB6R (W)

x

PD6

x

x

x

x

x

x

adr = 0x06E

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PDB7R (W)

PD7

x

x

x

x

x

x

x

adr = 0x06F

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 9-9. Parallel Port D Control Register (adr = 0x064)

Bits 7, 6

Bits 5, 4

Bits 3, 2

Bits 1, 0

 

 

 

 

 

00—clock upper nibble on pclk/2

 

00—clock lower nibble on pclk/2

x,x

01—clock on timer A1

x,x

01—clock on timer A1

10—clock on timer B1

10—clock on timer B1

 

 

 

11—clock on timer B2

 

11—clock on timer B2

 

 

 

 

User’s Manual

135

Page 144
Image 144
Jameco Electronics 3000, 2000 manual Parallel Port D Register functions, Parallel Port D Control Register adr =