EasyManuals Logo

Renesas RL78 Series User Manual

Renesas RL78 Series
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

Other manuals for Renesas RL78 Series

Questions and Answers:

Question and Answer IconNeed help?

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

Renesas RL78 Series Specifications

General IconGeneral
CoreRL78
CPU Clock SpeedUp to 32 MHz
Flash MemoryUp to 512 KB
RAMUp to 32 KB
Operating Voltage1.6 V to 5.5 V
Low Power ModesHALT, STOP, SNOOZE
CPU Architecture16-bit
Temperature Range-40°C to +85°C
PackageLQFP
Timers16-bit timers
Communication InterfacesUART, I2C, LIN
A/D Converter12-bit

Related product manuals