AN201
Rev 1.5 | 86/91
www.cmostek.com
16.3.4 PORTA5/PA5
Due to package pin limitation, PA5 has no package pin, therefore users can only configure it as an internal reset through the
UCFG configuration, and it is not recommended to configure it as an external reset.
16.3.5 PORTA7/PA7
PA7 can be configured as the following functional port:
GPIO
Crystal oscillator and resonator connection
Clock input
The internal circuit architecture of the port is shown in the below figure.
RD
TRISA
WR
WPUA
Data
Bus
VDD
RD
WPUA
WR
PORTA
/RAPU
VDD
WR
TRISA
RD
PORTA
WR
IOCA
RD
IOCA
Interrupt
On Change
D
Q
Q
_
D
Q
Q
_
RD
PORTA
Qn
振荡器
电路
OSC2
INTOSC or
INTOSCIO
INTOSC or
INTOSCIO
D
CLK
Q
Q
_
D
CLK
Q
Q
_
D
CLK
Q
Q
_
D
CLK
Q
Q
_
Figure 32. PA7 Architecture