TMP92CZ26A

92CZ26A-161

3.7.18 Port R (R0 to R3)

Port R0 to R3 are 4-bit general-purpose I/O ports. Each bit can be set individually for
input or output. Res etting sets port R0 to R3 to input port and output latch to “0”. In
addition to functi oning as general-pu rpose I/O port pins, PR0 to PR3 can al so function as
SPI controller pin (SPCLK, SPCS , SPDO and SPDI).
Above settin g is used the control register PRCR and function register PRFC.
Figure 3.7.49 Port R0
Selector
A
B
S
PR0(SPDI)
PR read
Direction
control
(
on bit basis
)
PRCR write
Function
control
(on bit basis)
PRFC write
R
Output latch
PR write
Reset
SPDI input
Internal data bus