5.5.2 Interrupt Manager with Priority Levels
Interrupt Manager with Normal and High Interrupt Levels
5.5.2.1 Introduction
The CPU Interrupt Controller (CPUINT) handles and prioritizes the interrupt requests. When an interrupt is enabled and the interrupt condition occurs, the CPUINT will receive the interrupt request. Based on the interrupt's priority level and that of any ongoing interrupt, the interrupt request is either acknowledged or kept pending until it has priority. After returning from the interrupt handler, the program execution continues from where it was before the interrupt occurred, and any pending interrupts are served after one instruction is executed.
5.5.2.2 Supported Device Families
AVR® Dx | AVR® Ex | ATtiny | ATmega |
5.5.2.3 Required header files:
#include "mcc_generated_files/system/interrupt.h"
5.5.2.4 Module Documentation
5.5.2.4.1 INTERRUPT
This file contains the API prototype for the Interrupt Manager.
Module description
This file contains the API prototype for the Interrupt Manager.
Functions
int8_t CPUINT_Initialize ()
Initializes the Interrupt module.
Function Documentation
CPUINT_Initialize()
int8_t CPUINT_Initialize ( )
Initializes the Interrupt module.
5.5.2.5 File Documentation
5.5.2.5.1 source/interrupt.c File Reference
This file contains the API implementation for the Interrupt Manager.
#include "../interrupt.h"
Functions
int8_t CPUINT_Initialize ()
Initializes the Interrupt module.
Detailed Description
This file contains the API implementation for the Interrupt Manager.
Interrupt Manager Generated Driver File.
5.5.2.5.2 source/interrupt.h File Reference
#include "../system/utils/compiler.h" #include "ccp.h" #include "../system/utils/atomic.h"
Functions
int8_t CPUINT_Initialize ()
Initializes the Interrupt module.
Detailed Description
Interrupt Manager Generated Driver API Header File.