TMP92CZ26A

92CZ26A-174

3.7.23 Port X (PX4, PX5 and PX7)

Port X5 and X7 are 2-bit gen eral-purpose I/O ports. Each bit can be set individually for
input or output. Res etting sets port X5 and X7 t o in put port and output latch to “0”. In
addition to functioni ng as gener al-pu rpos e I/O por t pins, PX5 and PX7 can a lso function as
USB clock input pin (X1USB).
Above settin g is used the control register PXCR and function register PXFC.
Port X4 is 1-bit general-purpose output port. Resetting sets output latch to “0”. In
addition to functioning as general-purpose output port, PX4 can also function as system
clock output pin (CLKOUT) and output pin (LDIV). This setting is used the PX register
and function register PXFC.
Figure 3.7.63 Port X4
Selector
A
B
S
PX4 (CLKOUT)
(
LDIV
)
Function
control
(
on bit basis
)
PXFC write
R
Output latch
PX write
CLKOUT output
Internal data bus
Reset
Selector
A
B
S
LDIV output
PX read