66
ABOV Semiconductor Co., Ltd.
9.5 P2 Port
9.5.1 P2 Port Description
P2 is 2-bit I/O port. P2 control registers consist of P2 data register (P2), P2 direction register (P2IO), P2 pull-up resistor
selection register (P2PU), and P2 open-drain selection register (P2OD). Refer to the port function selection registers
for the P2 function selection.
9.5.2 Register description for P2
P2 (P2 Data Register) : C4H
Initial value : 00H
P2IO (P2 Direction Register) : C5H
Initial value : 00H
P2PU (P2 Pull-up Resistor Selection Register) : C6H
Initial value : 00H
Configure Pull-up Resistor of P2 Port
P2OD (P2 Open-drain Selection Register) : C7H
Initial value : 00H
Configure Open-drain of P2 Port