Panasonic MN103001G/F01K Personal Computer User Manual


 
I/O Ports
15-46
15.10.2 Register Descriptions
Port 8 is a general-purpose input port that is also used for analog signal inputs AN3 to AN0 and external
interrupt inputs IRQ7 to IRQ4.
Each register for port 8 is described below.
Port 8 analog/digital input control register
Register symbol: P8AD
Address: x'36008030
Purpose: This register selects the analog/digital input on the port 8 pins.
(0: digital; 1: analog)
Bit No. 76543210
Bit name ----P83A P82A P81A P80A
Reset 00001111
Access RRRRR/WR/WR/WR/W
Port 8 pin register
Register symbol: P8IN
Address: x'36008090
Purpose: This register reads the value of the port 8 pins.
Bit No. 76543210
Bit name ----P83I P82I P81I P80I
Reset 0000XXXX
Access RRRRRRRR
When P8nA is "1", reading this register returns a value of "0", regardless of the actual values of the port pins.
When P8nA is "1", regardless of the actual values of the port pins, IRQ7 to IRQ4 are treated as if they were "L" by
the microcontroller internally.