Panasonic MN103001G/F01K Personal Computer User Manual


 
I/O Ports
15-39
15.8.2 Register Descriptions
Port 6 is a general-purpose input/output port that is also used for external interrupt inputs IRQ3 to IRQ0; the
timer input/output signals TM6IO, TM7IO, TM10IOA, TM10IOB; and the A/D conversion trigger input ADTRG.
Each register for port 6 is described below.
Port 6 output register
Register symbol: P6OUT
Address: x'3600800C
Purpose: This register sets the data to be output on port 6.
Bit No. 7 6 543210
Bit name ----P63O P62O P61O P60O
Reset 0 0 000000
Access RRRRR/WR/WR/WR/W
Port 6 pin register
Register symbol: P6IN
Address: x'3600808C
Purpose: This register reads the value of the port 6 pins.
Bit No. 7 6 543210
Bit name ----P63I P62I P61I P60I
Reset 0 0 0 0 XXXX
Access RRRRRRRR
Port 6 input/output control register
Register symbol: P6DIR
Address: x'3600806C
Purpose: This register sets the port 6 pins for input or output.
(0: input; 1: output)
Bit No. 7 6 543210
Bit name ----P63D P62D P61D P60D
Reset 0 0 000000
Access RRRRR/WR/WR/WR/W