EasyManuals Logo
Home>Renesas>Microcontrollers>RX Series

Renesas RX Series User Manual

Renesas RX Series
1823 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 #458 background imageLoading...
Page #458 background image
R01UH0823EJ0100 Rev.1.00 Page 458 of 1823
Jul 31, 2019
RX23W Group 22. Multi-Function Pin Controller (MPC)
22.2.2 P0n Pin Function Control Register (P0nPFS) (n = 3, 5, 7)
The Pmn pin function control register (PmnPFS) selects the pin function.
Bits PSEL[4:0] select the peripheral function assigned to each port pin.
The ISEL bit is set when a pin is used as an IRQ input pin. This setting can be used with the combination of the
peripheral function, though IRQn (external pin interrupt) of the same number should not be enabled by two or more pins.
The ASEL bit is set when a pin is used as an analog pin. When switching a pin to analog using the ASEL bit, set the
corresponding port mode register bit (PORTm.PMR) to “general I/O port” and the port direction register bit
(PORTm.PDR) to “input”. The pin state cannot be read at this point. The PmnPFS register is protected by the write-
protect register (PWPR). Modify the register after releasing the protection.
The ISEL bit to which IRQn is not specified is reserved. The ASEL bit to which analog input/output is not specified is
reserved.
—: Do not specify this value.
Address(es): P03PFS 0008 C143h, P05PFS 0008 C145h, P07PFS 0008 C147h
b7 b6 b5 b4 b3 b2 b1 b0
ASEL PSEL[4:0]
Value after reset:
00000000
Bit Symbol Bit Name Description R/W
b4 to b0 PSEL[4:0] Pin Function Select These bits select the peripheral function. For individual pin functions,
see the tables below.
R/W
b6, b5 Reserved These bits are read as 0. The write value should be 0. R/W
b7 ASEL Analog Function Select 0: Used other than as analog pin
1: Used as analog pin
P03: DA0 (85 pins)
P05: DA1 (85/56 pins)
R/W
Table 22.2 Register Settings for Input/Output Pin Function in 85-Pin
PSEL[4:0]
Settings
Pin
P03 P05 P07
00000b
(initial value)
Hi-Z
01001b ADTRG0#

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Renesas RX Series Specifications

General IconGeneral
BrandRenesas
ModelRX Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals