R5F21324CNSP#U0 Renesas Electronics America, R5F21324CNSP#U0 Datasheet - Page 575

MCU 1KB FLASH 16K ROM 20-LSSOP

R5F21324CNSP#U0

Manufacturer Part Number
R5F21324CNSP#U0
Description
MCU 1KB FLASH 16K ROM 20-LSSOP
Manufacturer
Renesas Electronics America
Series
R8C/3x/32Cr
Datasheet

Specifications of R5F21324CNSP#U0

Core Processor
R8C
Core Size
16/32-Bit
Speed
20MHz
Connectivity
I²C, LIN, SIO, SSU, UART/USART
Peripherals
POR, PWM, Voltage Detect, WDT
Number Of I /o
15
Program Memory Size
16KB (16K x 8)
Program Memory Type
FLASH
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-LSSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
R8C/32C Group
REJ09B0573-0100 Rev.1.00 Dec. 18, 2009
Page 546 of 573
Figure 32.1
32.2.4
The IR bit in the interrupt control register may be set to 1 (interrupt requested) when the interrupt source
changes. To use an interrupt, set the IR bit to 0 (no interrupt requested) after changing interrupt sources.
Changing interrupt sources as referred to here includes all factors that change the source, polarity, or timing of
the interrupt assigned to a software interrupt number. Therefore, if a mode change of a peripheral function
involves the source, polarity, or timing of an interrupt, set the IR bit to 0 (no interrupt requested) after making
these changes. Refer to the descriptions of the individual peripheral functions for related interrupts.
Figure 32.1 shows a Procedure Example for Changing Interrupt Sources.
IR bit: The interrupt control register bit for the interrupt whose source is to be changed
IR bit: The interrupt control register bit for the interrupt whose source is to be changed
Notes:
Notes:
1. The above settings must be executed individually. Do not execute two or more settings
2. To prevent interrupt requests from being generated, disable the peripheral function
1. The above settings must be executed individually. Do not execute two or more settings
2. To prevent interrupt requests from being generated, disable the peripheral function
3. To change the interrupt source to the input with the digital filter used, wait for three or
3. To change the interrupt source to the input with the digital filter used, wait for three or
Changing Interrupt Sources
simultaneously (using one instruction).
before changing the interrupt source. In this case, use the I flag if all maskable
simultaneously (using one instruction).
interrupts can be disabled.
If all maskable interrupts cannot be disabled, use bits ILVL0 to ILVL2 for the interrupt
before changing the interrupt source. In this case, use the I flag if all maskable
whose source is to be changed.
interrupts can be disabled.
If all maskable interrupts cannot be disabled, use bits ILVL0 to ILVL2 for the interrupt
more cycles of the sampling clock of the digital filter before setting the IR bit to 0 (no
interrupt request). Refer to 11.8.5 Rewriting Interrupt Control Register for the
whose source is to be changed.
instructions to use and related notes.
more cycles of the sampling clock of the digital filter before setting the IR bit to 0 (no
interrupt request). Refer to 11.8.5 Rewriting Interrupt Control Register for the
instructions to use and related notes.
Procedure Example for Changing Interrupt Sources
Set the IR bit to 0 (no interrupt request)
Set the IR bit to 0 (no interrupt request)
(including mode of peripheral function)
(including mode of peripheral function)
using the MOV instruction
using the MOV instruction
Change interrupt sources
Change interrupt sources
Interrupt source change
Interrupt source change
Disable interrupts
Disable interrupts
Enable interrupts
Enable interrupts
Change completed
Change completed
(2, 3)
(2, 3)
(2, 3)
(2, 3)
(3)
(3)
32. Usage Notes

Related parts for R5F21324CNSP#U0