3.2.6 Interrupt controller (ICU)

Below is a list of API functions output by the Code Generator for interrupt controller use.

Table 3.6

API Functions: [Interrupt Controller]

API Function Name

Function

R_ICU_Create

Performs initialization necessary to control the interrupt controller.

R_ICU_Create_UserInit

Performs user-defined initialization relating to the interrupt controller.

r_icu_irqn_interrupt

Performs processing in response to the external pin interrupts.

r_icu_software_interrupt

Performs processing in response to the software interrupt.

r_icu_software2_interrupt

Performs processing in response to the software interrupt2.

r_icu_nmi_interrupt

Performs processing in response to the NMI pin interrupt.

R_ICU_IRQn_Start

Allows detection of the external pin interrupt.

R_ICU_IRQn_Stop

Prohibits detection of the external pin interrupt.

R_ICU_Software_Start

Allows detection of the software interrupt.

R_ICU_Software2_Start

Allows detection of the software interrupt2.

R_ICU_Software_Stop

Prohibits detection of the software interrupt.

R_ICU_Software2_Stop

Prohibits detection of the software interrupt2.

R_ICU_SoftwareInterrupt_Generate

Generates the software interrupt.

R_ICU_SoftwareInterrupt2_Generate

Generates the software interrupt2.