Renesas R-IN32M3 Series User Manual page 196

Hide thumbs Also See for R-IN32M3 Series:
Table of Contents

Advertisement

R-IN32M3-EC User's Manual
8.2
Port Configuration
The R-IN32M3-EC incorporates eight 3-state I/O ports and four real-time control ports. Input or output mode can be
specified for ports in 1-bit units. The basic structure of ports is the 8-bit unit, but ports 0 to 3 can also be grouped to
enable reading and writing in 32-bit units. The real-time port pins (RP00 to RP37) can be used for input and output in
synchronization with interrupt signals.
Each port has the registers shown below, which are used to make the I/O settings and to select and specify the
multiplexed functions of the port pins. Figure 8.1 shows the basic circuit configuration of port registers and port pin.
Register Name
Port registers (Pn, RPm)
Port mode registers (PMn, RPMm)
Port mode control registers (PMCn,
RPMCm)
Port function control registers (PFCn,
RPFCm)
Port function control expansion
registers (PFCEn, RPFCEm)
Port pin input registers (PINn, RPINm)
Caution: Operation is not guaranteed if an unsupported function is allocated to the multiplexed pin.
For example, if multiplexed function 4 is allocated to the P00 pin, which does not support
multiplexed function 4, operation does not proceed correctly. For the allocation of
multiplexed pins, see section 8.4, List of Selectable Multiplexed Functions.
Remark: n = 0 to 7, m = 0 to 3
R18UZ0003EJ0501
Jan. 12, 2021
Read
Used to read the value of the output
latch.
Used to read whether the port is in
input or output mode.
Used to read whether the port pins are
selected as port pins or as multiplexed
function pins.
Used to read which function is
selected for the multiplexed pin.
Used to read the input level of the port
pin.
Application and Operation
Used to set a value to the output latch.
Used to set the port to input or output
mode.
Used to select whether the port pins
are used as port pins or as multiplexed
function pins.
Used to select the function of the
multiplexed pin.
Cannot be written.
8. Port Function
Write
Page 183 of 224

Advertisement

Table of Contents
loading

This manual is also suitable for:

R-in32m3-ecMc-10287bf1-hn4-aMc-10287bf1-hn4-m1-a

Table of Contents