18 port r (r0 to r3) – Toshiba H1 Series User Manual

Page 164

Advertising
background image

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. Resetting sets port R0 to R3 to input port and output latch to “0”. In

addition to functioning as general-purpose I/O port pins, PR0 to PR3 can also function as

SPI controller pin (SPCLK, SPCS , SPDO and SPDI).

Above setting 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 dat

a

bus

Advertising
This manual is related to the following products: