MC96F6432
74 June 22, 2018 Ver. 2.9
9.3 P0 Port
9.3.1 P0 Port Description
P0 is 8-bit I/O port. P0 control registers consist of P0 data register (P0), P0 direction register (P0IO), debounce
enable register (P0DB), P0 pull-up resistor selection register (P0PU), and P0 open-drain selection register
(P0OD). Refer to the port function selection registers for the P0 function selection.
9.3.2 Register description for P0
P0 (P0 Data Register) : 80H
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(P00) → if(P0 & 0x01)
P0IO (P0 Direction Register) : A1H
Initial value : 00H
NOTE: EC3/EINT0 ~ EINT5 function possible when input
P0PU (P0 Pull-up Resistor Selection Register) : ACH
Initial value : 00H
Configure Pull-up Resistor of P0 Port