Peripheral Function I/O; Peripheral Function I/O And Port Direction Bits; Priority Level Of Peripheral Function I/O - Renesas M16C/64C User Manual

Table of Contents

Advertisement

M16C/64C Group
13.4

Peripheral Function I/O

13.4.1

Peripheral Function I/O and Port Direction Bits

Programmable I/O ports can share pins with peripheral function I/O (see Table 1.5 to Table 1.6 "Pin
Names, Pin Package"). Some peripheral function I/O are affected by a port direction bit which shares
the same pin. Table 13.13 lists Setting of Direction Bits Functioning as Peripheral Function I/O. For
peripheral function settings, see descriptions of each function.
Table 13.13
Setting of Direction Bits Functioning as Peripheral Function I/O
Peripheral Function I/O
Input
PWM
Output
D/A converter
Others
13.4.2

Priority Level of Peripheral Function I/O

Multiple peripheral functions can share the same pin.
For example, when peripheral function A and peripheral function B share a pin, input and output are as
follows:
When the pin functions as input for peripheral functions A and B
The same signal is input as an input signal for each function. However, the timing of accepting the
signal differs depending on conditions (e.g. internal delay) of peripheral functions A and B.
When the pin functions as output for peripheral function A and as input for peripheral function B
Peripheral function A outputs a signal from the pin, and peripheral function B inputs the signal.
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Setting of the Port Direction Bit Sharing the Same Pin
Set to 0 (input mode).
Set to 1 (output mode).
Set to 0 (input mode).
Set to either 0 or 1 (outputs regardless of the direction bit setting).
13. Programmable I/O Ports
Page 186 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents