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

Renesas RL78/F14 User Manual

Renesas RL78/F14
1879 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 #302 background imageLoading...
Page #302 background image
RL78/F13, F14 CHAPTER 4 PORT FUNCTIONS
R01UH0368EJ0210 Rev.2.10 270
Dec 10, 2015
4.2.8 Port 8
Port 8 is an I/O port with an output latch. Port 8 can be set to the input mode or output mode in 1-bit units using port
mode register 8 (PM8).
This port can also be used for analog input for A/D converter.
P80 to P85 can also be used for D/A converter output, and analog voltage input and reference voltage input for
comparator.
To use P80/ANI2 to P87/ANI9 as digital input pins, set them in the digital I/O mode by using the A/D port configuration
register (ADPC) and in the input mode by using the PM8 register. Use these pins starting from the upper bit.
To use P80/ANI2 to P87/ANI9 as digital output pins, set them in the digital I/O mode by using the A/D port configuration
register (ADPC) and in the output mode by using the PM8 register. Use these pins starting from the upper bit.
To use P80/ANI2 to P87/ANI9 as analog input pins, set them in the analog I/O mode by using the A/D port
configuration register (ADPC) and in the input mode by using the PM8 register. Use these pins starting from the lower bit.
Table 4-13. Settings of Registers When Using Port 8
Pin Name PM8x ADPC
Alternate Function
Setting
Remark
Name I/O
P8n Input 1 03 to n+3H –
To use P8n as a port, use these
pins from the upper bit.
Output 0 03 to n+3H
Remarks 1. PM8x: Port mode register 8
ADPC: A/D port configuration register
2. n = 0 to 7

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Renesas RL78/F14 Specifications

General IconGeneral
BrandRenesas
ModelRL78/F14
CategoryComputer Hardware
LanguageEnglish

Related product manuals