EasyManuals Logo

Renesas RL78/G1H User Manual

Renesas RL78/G1H
941 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #107 background imageLoading...
Page #107 background image
RL78/G1H CHAPTER 5 PORT FUNCTIONS
R01UH0575EJ0120 Rev. 1.20 Page 89 of 920
Dec 22, 2016
5.5.3 Register setting examples for used port and alternate functions
Register setting examples for used port and alternate functions are shown in Tables 5 - 7 to 5 - 12. The registers
used to control the port functions should be set as shown in Tables 5 - 7 to 5 - 12. See the following remark for
legends used in Tables 5 - 7 to 5 - 12.
Remark —: Not supported
×: Don’t care
POMxx: Port output mode register
PMCxx: Port mode control register
PMxx: Port mode register
Pxx: Port output latch
Table 5 - 7 Setting Examples of Registers When Using P02 to P16 Pin Function
Pin
Name
Used Function
POMxx PMCxx PMxx Pxx
Alternate Function Output
Function
Name
I/O
SAU Output
Function
Other than SAU
P02 P02 Input × 0 1 × × ―
Output 0 0 0 0/1 TxD1/SO10 = 1 ―
N-ch OD output 1 0 0 0/1
TxD1 Output 0/1 0 0 1 ――
SO10 Output 0/1 0 0 1 ――
P03 P03 Input × 0 1 × × ―
Output 0 0 0 0/1 ――
N-ch OD output 1 0 0 0/1
SI10 Input × 0 1 × × ―
RxD1 Input × 0 1 × × ―
P04 P04 Input × ― 1× ――
Output 0 ― 0 0/1 SCK10 = 1 ―
N-ch OD output 1 ― 00/1
SCK10 Input × ― 1× ――
Output 0/1 ― 01 ――
P10 P10 Input ――1× ―
Output ――00/1 ――
P11 P11 Input ――1× ―
Output ――00/1 ――
P12 P12 Input ――1× ――
Output ――00/1 ――
P13 P13 Input × ― 1× ――
Output 0 ― 0 0/1 SO20 = 1 ―
SO20 Output 0/1 ― 01 ――
P14 P14 Input × ― 1× ――
Output 0 ― 00/1 ――
SI20 Input × ― 1× ――
P15 P15 Input × ― 1× ――
Output 0 ― 0 0/1 SCK20 = 1
―
SCK20 Input × ― 1× ――
Output 0/1 ― 01 ――
P16 P16 Input ――1× ――
Output ――00/1 ――

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G1H and is the answer not in the manual?

Renesas RL78/G1H Specifications

General IconGeneral
BrandRenesas
ModelRL78/G1H
CategoryMicrocontrollers
LanguageEnglish

Related product manuals