EasyManuals Logo
Home>Renesas>Microcontrollers>RL78/G1H

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 #105 background imageLoading...
Page #105 background image
RL78/G1H CHAPTER 5 PORT FUNCTIONS
R01UH0575EJ0120 Rev. 1.20 Page 87 of 920
Dec 22, 2016
5.5 Register Settings When Using Alternate Function
5.5.1 Basic concept when using alternate function
In the beginning, for a pin also assigned to be used for analog function, use the ADPC register or port mode control
register (PMCxx) to specify whether to use the pin for analog function or digital input/output.
Figure 5 - 8 shows the basic configuration of an output circuit for pins used for digital input/output. The output of the
output latch for the port and the output of the alternate SAU function are input to an AND gate. The output of the
AND gate is input to an OR gate. The output of an alternate function other than SAU (Timer, RTC, clock/buzzer
output, IICA, etc.) is connected to the other input pin of the OR gate. When such kind of pins are used by the port
function or an alternate function, the unused alternate function must not hinder the output of the function to be used.
An idea of basic settings for this kind of case is shown in Table 5 - 6.
Figure 5 - 8 Basic Configuration of Output Circuit for Pins
Note 1. When there is no POM register, this signal should be considered to be low level (0).
Note 2. When there is no alternate function, this signal should be considered to be high level (1).
Note 3. When there is no alternate function, this signal should be considered to be low level (0).
Internal bus
WRPOM
WRPORT
POM register
(POMmn)
Output latch
(Pmn)
WRPM
PM register
(PMmn)
Alternate function
(SAU)
Alternate function
(other than SAU)
Note 1
Note 2
Note 3
N-ch
P-ch
VSS
Pmn/
Alternate function
To input circuit
V
DD

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