Download Print this page

Renesas M16C/50 Series User Manual page 199

Advertisement

M16C/5L Group, M16C/56 Group
11.4
Peripheral Function I/O
11.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.7 to Table 1.10 Pin
Names). Some peripheral function I/O are affected by a port direction bit which shares the same pin.
Table 11.10 lists The Setting of Direction Bits Functioning as Peripheral Function I/O. For peripheral
function settings, see descriptions of each function.
Table 11.10
The Setting of Direction Bits Functioning as Peripheral Function I/O
Peripheral Function I/O
Input
Output
11.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.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
The Setting of the Port Direction Bit Sharing the Same Pin
Set to 0 (input mode).
Set to either 0 or 1 (outputs regardless of the direction bit setting).
11. Programmable I/O Ports
Page 162 of 803

Advertisement

loading