MC96F6432
76 June 22, 2018 Ver. 2.9
9.4 P1 Port
9.4.1 P1 Port Description
P1 is 8-bit I/O port. P1 control registers consist of P1 data register (P1), P1 direction register (P1IO), debounce
enable register (P15DB), P1 pull-up resistor selection register (P1PU), and P1 open-drain selection register
(P1OD) . Refer to the port function selection registers for the P1 function selection.
9.4.2 Register description for P1
P1 (P1 Data Register) : 88H
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(P10) → if(P1 & 0x01)
P1IO (P1 Direction Register) : B1H
Initial value : 00H
NOTE: EINT6/ENINT7/EINT11/EINT12/SS2/EC1 function possible
when input
P1PU (P1 Pull-up Resistor Selection Register) : ADH
Initial value : 00H
Configure Pull-up Resistor of P1 Port