CHAPTER 5. PERIPHERAL HARDWARE FUNCTIONS

CHAPTER 5. PERIPHERAL HARDWARE FUNCTIONS

5.1DIGITAL INPUT/OUTPUT PORTS

The μPD75402A has the following digital input/output ports on chip: Ports 0 through 3, 5 and 6.

The μPD75402A uses memory mapped I/O, and all input/output ports are mapped onto data memory space. All data memory handling instructions can be used on all of the ports, and a wide variety of bit operations can

be performed in addition to 4-bit input/output.

Note On the μPD75402A it is not possible to perform 8-bit input/output by pairing two ports.

Fig. 5-1 Digital Input/Output Port Data Memory Addresses

Address

3

 

2

1

0

Symbol

 

 

 

 

 

 

 

 

FF0H

P03

P02

P01

P00

PORT0

 

 

 

 

 

 

 

 

FF1H

0

 

P12

0

P10

PORT1

 

 

 

 

 

 

 

 

FF2H

P23

P22

P21

P20

PORT2

 

 

 

 

 

 

 

 

FF3H

P33

P32

P31

P30

PORT3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FF5H

P53

P52

P51

P50

PORT5

 

 

 

 

 

 

 

 

FF6H

P63

P62

P61

P60

PORT6

 

 

 

 

 

 

 

 

41

Page 52
Image 52
NEC PD75P402, PD75402A user manual Peripheral Hardware Functions, PORT0