4.5.2 Interrupt Manager with Priority Levels

Interrupt Manager with Normal and High Interrupt Levels

4.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.

4.5.2.2 Supported Device Families

AVR® DxAVR® ExATtinyATmega

4.5.2.3 Required header files:

#include "mcc_generated_files/system/interrupt.h"

4.5.2.4 Module Documentation

4.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.

Version: Interrupt Manager Driver Version 1.0.0

Function Documentation

CPUINT_Initialize()

int8_t CPUINT_Initialize ( )

Initializes the Interrupt module.

Return values:

4.5.2.5 File Documentation

4.5.2.5.1 source/interrupt.c File Reference

This file contains the API implementation for the Interrupt Manager.

#include "../interrupt.h"

Detailed Description

This file contains the API implementation for the Interrupt Manager.

Interrupt Manager Generated Driver File.

Version: Interrupt Manager Driver Version 1.0.0

4.5.2.5.2 source/interrupt.h File Reference

#include "../system/utils/compiler.h"
#include "ccp.h"
#include "../system/utils/atomic.h"

Detailed Description

Interrupt Manager Generated Driver API Header File.