5. I/O ports MC97F6108A User’s manual
PSR2 (Analog I/O port Selection Register): 2F4AH
P1[7] Analog Input selection register
P1[7] digital input (default)
P1[0] Analog Input selection register
P1[0] digital input (default)
P2[0] Analog Input selection register
P2[0] digital input (default)
P2[0] AIN[5] input or AMP2O output
P0[6] Analog Input selection register
P0[6] digital input (default)
P0[4] Analog Input selection register
P0[4] digital input (default)
P0[3] Analog Input selection register
P0[3] digital input (default)
P0[2] Analog Input selection register
P0[2] digital input (default)
P0[1] Analog Input selection register
P0[1] digital input (default)
NOTE: It is recommended to set this register when using port as Analog input such as ADC
input, Comparator input, or OP-Amp input/output. And do not set this register when
port is used as digital input.