Port 6 - Renesas RL78/G1P Hardware User Manual

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P

4.2.5 Port 6

Port 6 is an I/O port with an output latch. Port 6 can be set to the input mode or output mode in 1-bit units using port
mode register 6 (PM6).
The output of the P60 and P61 pins is N-ch open-drain output (6 V tolerance).
This port can also be used for serial interface data I/O and clock I/O.
Reset signal generation sets port 6 to input mode.
Name
I/O
P60
Input
Output
P61
Input
Output
Note Stop the operation of serial interface IICA when using P60/SCLA0/SCLA1 and P61/SDAA0/SDAA1 as general-
purpose ports.
Remark :
don't care
PM6: Port mode register 6
Figure 4-13 shows a block diagram of port 6
RD
WR
PORT
WR
PM
P6:
Port register 6
PM6:
Port mode register 6
RD:
Read signal
WR: Write signal
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Table 4-8. Settings of Registers When Using Port 6
PM6
1
0
1
0
Figure 4-13. Block Diagram of P60 and P61
Alternate
function
P6
Output latch
(P60, P61)
PM6
PM60, PM61
Alternate
function
Alternate Function Setting
Note
SCLA0 output = 0
Note
SDAA0 output = 0
CHAPTER 4 PORT FUNCTIONS
Remark
P60/SCLA0/SCLA1,
P61/SDAA0/SDAA1
80

Advertisement

Table of Contents
loading

Table of Contents