r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 724

no-image

r5f21368sdfp

Manufacturer Part Number
r5f21368sdfp
Description
Renesas Mcu R8c Family / R8c/3xt-a Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21368sdfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Under development
R8C/36T-A Group
R01UH0240EJ0001 Rev.0.01
Apr 28, 2011
Figure 29.1
29.4.4
IR bit: Corresponding interrupt control register bit for the interrupt whose source is to be changed
Notes:
The IR bit in the interrupt control register may be set to 1 (interrupt requested) when the interrupt source is
changed. 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 29.1 shows a Procedure Example for Changing Interrupt Sources.
1. The above settings must be executed individually. Do not execute two or more
2. To prevent interrupt requests from being generated, disable the peripheral function
settings simultaneously (using one instruction).
before changing the interrupt source. In this case, use the I flag if all maskable
interrupts can be disabled.
If all maskable interrupts cannot be disabled, use bits ILVL0 to ILVL2 for the interrupt
whose source is to be changed.
Changing Interrupt Sources
Preliminary document
Specifications in this document are tentative and subject to change.
Procedure Example for Changing Interrupt Sources
Set the IR bit to 0 (no interrupt request)
(including mode of peripheral function)
using the MOV instruction
Change interrupt sources
Interrupt source change
Disable interrupts
Enable interrupts
Change completed
(2)
(2)
29. Usage Notes
Page 693 of 725

Related parts for r5f21368sdfp