I/O Ports
15-20
15.5.2 Register Descriptions
Port 3 is a general-purpose input/output port that is also used for the bus grant signal BG.
Each register for port 3 is described below.
Port 3 output register
Register symbol: P3OUT
Address: x'36008005
Purpose: This register sets the data to be output on port 3.
Bit No. 76543210
Bit name -------P30O
Reset 00000000
Access RRRRRRRR/W
Port 3 pin register
Register symbol: P3IN
Address: x'36008085
Purpose: This register reads the value of the port 3 pin.
Bit No. 76543210
Bit name -------P30I
Reset 0000000X
Access RRRRRRRR
Port 3 input/output control register
Register symbol: P3DIR
Address: x'36008065
Purpose: This register sets the port 3 pin for input or output.
(0: input; 1: output)
Bit No. 76543210
Bit name -------P30D
Reset 00000000
Access RRRRRRRR/W