R5F61525 RENESAS [Renesas Technology Corp], R5F61525 Datasheet - Page 287

no-image

R5F61525

Manufacturer Part Number
R5F61525
Description
32-Bit CISC Microcomputer H8SX Family H8SX/1500 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
8.4
8.4.1
8.4.2
1. Disable the input function corresponding to the pin by the on-chip module registers.
2. Select the input function by setting PFCR.
3. Enable the input function.
When the ICR setting is changed, the LSI may malfunction due to an edge occurred internally
according to the pin states. To change the ICR setting, fix the pin high or disable the input
function corresponding to the pin by setting the on-chip module registers.
If an input is enabled by setting ICR while multiple input functions are assigned to the pin, the
pin state is reflected in all the inputs of individual modules. Care must be taken for the
settings of unused input function on each module side.
When a pin is used as an output, data to be output from the pin will be latched as the pin state
if the input function corresponding to the pin is enabled. To use the pin as an output, disable
the input function for the pin by setting ICR.
The PFC controls I/O ports. To specify the function of each pin, specify the input/output
destination before enabling the input/output function.
When the input/output destination is changed by the corresponding selection bit, an edge may
occur if the previous pin level differs from the pin level after the change. To change the pin
direction correctly, follow the procedure shown below.
If a pin function has both a selection bit that modifies the input/output destination and an
enable bit that enables the pin function, first specify the input/output destination by the
selection bit and then enable the pin function by the enable bit.
Usage Notes
Notes on Input Buffer Control Register (ICR) Setting
Notes on Port Function Control Register (PFCR) Settings
Rev. 3.00 Mar. 14, 2006 Page 249 of 804
Section 8 I/O Ports
REJ09B0104-0300

Related parts for R5F61525