MC96F6432
80 June 22, 2018 Ver. 2.9
9.6 P3 Port
9.6.1 P3 Port Description
P3 is 8-bit I/O port. P3 control registers consist of P3 data register (P3), P3 direction register (P3IO) and P3
pull-up resistor selection register (P3PU). Refer to the port function selection registers for the P3 function
selection.
9.6.2 Register description for P3
P3 (P3 Data Register) : 98H
Initial value : 00H
Note) Do not use the “direct bit test and branch” instruction for input port, more detail information is at
Appendix B.
Example) Avoid direct input port bit test and branch condition as below
If(P30) → if(P3 & 0x01)
P3IO (P3 Direction Register) : C1H
Initial value : 00H
P3PU (P3 Pull-up Resistor Selection Register) : AFH
Initial value : 00H
Configure Pull-up Resistor of P3 Port