Ch 5. peripheral hardware functions, Digital input/output ports – NEC PD75402A User Manual
Page 52
Advertising

41
CHAPTER 5. PERIPHERAL HARDWARE FUNCTIONS
CHAPTER 5. PERIPHERAL HARDWARE FUNCTIONS
5.1
DIGITAL 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
Advertising
This manual is related to the following products: