R5F21162SP#U0 Renesas Electronics America, R5F21162SP#U0 Datasheet - Page 253

IC R8C MCU FLASH 8K 20SSOP

R5F21162SP#U0

Manufacturer Part Number
R5F21162SP#U0
Description
IC R8C MCU FLASH 8K 20SSOP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/R8C/Tiny/16r
Datasheets

Specifications of R5F21162SP#U0

Core Processor
R8C
Core Size
16-Bit
Speed
20MHz
Connectivity
I²C, SIO, UART/USART
Peripherals
LED, POR, Voltage Detect, WDT
Number Of I /o
13
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-SSOP
For Use With
R0K521134S000BE - KIT EVAL STARTER FOR R8C/13
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
R8C/16 Group, R8C/17 Group
Rev.2.10
REJ09B0169-0210
Figure 20.1
20.2.5
The IR bit in the interrupt control register may be set to “1” (interrupt requested) when the interrupt
factor changes. When using an interrupt, set the IR bit to “0” (no interrupt requested) after changing
the interrupt factor.
In addition, the changes of interrupt factors include all factors that change the interrupt factors
assigned to individual software interrupt numbers, polarities, and timing. Therefore, when a mode
change of the peripheral functions involves interrupt factors, edge polarities, and timing, Set the IR bit
to “0” (no interrupt requested) after the change. Refer to each peripheral function for the interrupts
caused by the peripheral functions.
Figure 20.1 shows an Example of Procedure for Changing Interrupt Factor.
Jan 19, 2006
Changing Interrupt Factor
Example of Procedure for Changing Interrupt Factor
NOTES :
IR Bit: The interrupt control register bit of an
1. Execute the above setting individually. Do not execute
2. Use the I flag for the INTi (i=0 to 3) interrupt.
3. Refer to the 21.2.6 Changing Interrupt Control Register
Page 238 of 254
two or more settings at once (by one instruction).
the interrupt factor. In this case, use the I flag when all
maskable interrupts can be disabled. When all maskable
interrupts cannot be disabled, use the ILVL0 to ILVL2 bits of
interrupt whose factor is changed.
To prevent interrupt requests from being generated when
using peripheral function interrupts other than the INTi
interrupt, disable the peripheral function before changing
for the instructions to be used and their usage notes.
Set the IR bit to "0" (interrupt not requested) using
interrupt whose factor is changed.
Change Interrupt Factor (including mode
Interrupt Factor Change
of peripheral functions)
the MOV instruction
Disable Interrupt
Enable Interrupt
Change Completed
(2, 3)
(2, 3)
(3)
20. Precautions

Related parts for R5F21162SP#U0