EasyManuals Logo
Home>Renesas>Computer Hardware>RL78/G13

Renesas RL78/G13 User Manual

Renesas RL78/G13
1092 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 #246 background imageLoading...
Page #246 background image
RL78/G13 CHAPTER 4 PORT FUNCTIONS
R01UH0146EJ0100 Rev.1.00 227
Sep 22, 2011
4.2.11 Port 10
Port 10 is an I/O port with an output latch. Port 10 can be set to the input mode or output mode in 1-bit units using port
mode register 10 (PM10). When the P100 to P106 pins are used as an input port, use of an on-chip pull-up resistor can
be specified in 1-bit units by pull-up resistor option register 10 (PU10).
Input to the P100 pin can be specified as analog input or digital input in 1-bit units, using port mode control register 10
(PMC10).
This port can also be used for timer I/O and A/D converter analog input.
Reset signal generation sets P100 to analog input, P101 to P106 to input mode.
Table 4-14. Settings of Registers When Using Port 10
Pin Name
Name I/O
PM10× PMC10× Alternate Function Setting
Remark
Input 1 0
×
P100
Output 0 0
×
Input 1
P101
Output 0
Input 1
×
P102
Output 0
TO06 output = 0
Note 1
Input 1
×
P103 to
P106
Output 0
TO14 to TO17 outputs = 0
Note 2
Notes 1. To use P102/TI06/TO06 as a general-purpose port, set bit 6 (TO06) of timer output register 0 (TO0) and bit
6 (TOE06) of timer output enable register 0 (TOE0) to “0”, which is the same as their default status setting.
2. To use P103/TI14/TO14 to P106/TI17/TO17 as a general-purpose port, set bits 4 to 7 (TO14 to TO17) of
timer output register 1 (TO1) and bits 4 to 7 (TOE14 to TOE17) of timer output enable register 1 (TOE1) to
“0”, which is the same as their default status setting.
Remark ×: don’t care
PM10×: Port mode register 10
PMC10×: Port mode control register 10
<R>
<R>
<R>

Table of Contents

Other manuals for Renesas RL78/G13

Questions and Answers:

Question and Answer IconNeed help?

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

Renesas RL78/G13 Specifications

General IconGeneral
BrandRenesas
ModelRL78/G13
CategoryComputer Hardware
LanguageEnglish

Related product manuals