78
ABOV Semiconductor Co., Ltd.
9.8 P5 Port
9.8.1 P5 Port Description
P5 is 6-bit I/O port. P5 control registers consist of P5 data register (P5), P5 direction register (P5IO) andP5 pull-up
resistor selection register (P5PU) . Refer to the port function selection registers for the P5 function selection.
9.8.2 Register description for P5
P5 (P5 Data Register): B0H
Initial value: 00H
NOTE)
1. Do not use the “direct bit test and branch” instruction for input port. More detail information is at chapter
17.2 Instructions on how to use the input port.
Example) Avoid direct input port bit test and branch condition as below
if(P50) → if(P5 & 0x01)
P5IO (P5 Direction Register): D1H
Initial value: 00H
NOTE)
1. EC0/EINT8/EINT10/BLNK function possible when input
P5PU (P5 Pull-up Resistor Selection Register): 95H
Initial value: 00H
Configure Pull-up Resistor of P5 Port