Synergy Software Package User's Manual
Interrupt Initialization

Functions

void R_BSP_IrqStatusClear (IRQn_Type irq)
 Clear the interrupt status flag (IR) for a given interrupt. When an interrupt is triggered the IR bit is set. If it is not cleared in the ISR then the interrupt will trigger again immediately. More...
 
void bsp_irq_cfg (void)
 Using the vector table information section that has been built by the linker and placed into ROM in the .vector_info. section, this function will initialize the ICU so that configured ELC events will trigger interrupts in the NVIC.
 

Detailed Description

This module configures certain ELC events so that they can trigger NVIC interrupts. Which events are used as interrupts depends on settings in bsp_irq_cfg.h.

Function Documentation

◆ R_BSP_IrqStatusClear()

void R_BSP_IrqStatusClear ( IRQn_Type  irq)

Clear the interrupt status flag (IR) for a given interrupt. When an interrupt is triggered the IR bit is set. If it is not cleared in the ISR then the interrupt will trigger again immediately.

Parameters
[in]irqInterrupt for which to clear the IR bit. Note that the enums listed for IRQn_Type are only those for the Cortex Processor Exceptions Numbers. In prior releases this list contained all of the interrupts enabled for the specfic MCU but enabled interrupts are now configured using the SSP_VECTOR_DEFINE macro.
Note
This does not work for system exceptions where the IRQn_Type value is < 0.