EasyManua.ls Logo

Renesas RL78/G13 - Page 195

Renesas RL78/G13
1092 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G13 CHAPTER 4 PORT FUNCTIONS
R01UH0146EJ0100 Rev.1.00 176
Sep 22, 2011
Table 4-4. Settings of Registers When Using Port 1 (2/2)
Pin Name
Name I/O
PM1× PIM1× POM1× PMC××
Alternate Function Setting
Note 10
Remark
1 0
× ×
CMOS input Input
1 1
×
×
TTL input
P16
Output 0
×
0
TO01 output = 0
Note 4
SO11 output = 1
Note 5
CMOS output
1 0
× ×
CMOS input Input
1 1
×
×
TTL input
0
×
0 CMOS output
P17
Output
0
×
1
TO02 output = 0
Note 4
SDA11 output = 0
Note 5
SO11 output = 0
Note 6
(SO00/TxD0 output = 1
Note 9
)
N-ch O.D. output
Notes 1. 52-, 64-, 80-, 100-, 128-pin products only.
2. P10/SCK00/SCL00, P11/SI00/RxD0/TOOLRxD/SDA00, P12/SO00/TxD0/TOOLTxD, P13/TxD2/SO20,
P14/RxD2/SI20/SDA20, or P15/SCK20/SCL20 as a general-purpose port, set serial channel enable status
register m (SEm), serial output register m (SOm) and serial output enable register m (SOEm) to the default
status (m = 0, 1).
3. To use P15/PCLBUZ1/SCK20/SCL20 as a general-purpose port in 30- to 52-pin products only, set bit 7
(PCLOE1) of clock output select register 1 (CKS1) to “0”, which is the same as their default status setting.
4. To use P16/TI01/TO01/INTP5 or P17/TI02/TO02 as a general-purpose port, set bits 1 and 2 (TO01, TO02)
of timer output register 0 (TO0) and bits 1 and 2 (TOE01, TOE02) of timer output enable register 0 (TOE0)
to “0”, which is the same as their default status setting.
5 To use P16/TI01/TO01/INTP5/SO11 or P17/TI02/TO02/SI11/SDA11 as a general-purpose port in 20-pin
products only, set serial channel enable status register 0 (SE0), serial output register 0 (SO0) and serial
output enable register 0 (SOE0) to the default status.
6. P17/TI02/TO02/SO11 as a general-purpose port in 24-, 25-pin products only, set serial channel enable
status register 0 (SE0), serial output register 0 (SO0) and serial output enable register 0 (SOE0) to the
default status.
7. If P10 to P15 are used as general-purpose ports and PIOR0 is set to 1, use the corresponding bits in bits 2
to 7 (TO02 to TO07) of Timer output register 0 (TO0) and bits 2 to 7 (TOE02 to TOE07) of Timer output
enable register 0 with “0”, which is the same as their initial setting.
8. To use P13 and P14 as a general-purpose port, do not set PIOR2 to 1.
9. If P17 is used as general-purpose port and PIOR1 is set to 1, use Serial channel enable status register 0
(SE0), Serial output register 0 (SO0) and Serial output enable register 0 (SOE0) with the same setting as
the initial status.
10. The descriptions in parentheses indicate the case where PIORx = 1.
Remark ×: don’t care
PM1×: Port mode register 1
PIM1×: Port input mode register 1
POM1×: Port output mode register 1
PMC1×: Port mode control register 1
PIOR×: Peripheral I/O redirection register
<R>

Table of Contents

Other manuals for Renesas RL78/G13

Related product manuals