Microchip® Advanced Software Framework

Quick Start Guide for SYSTEM INTERRUPT - Enable Module Interrupt Use Case

In this case we enable interrupt handling for a specific module, as well as enable interrupts globally for the device.

Setup

Prerequisites

There are no special setup requirements for this use-case.

Use Case

Code

Copy-paste the following code to your user application:

Workflow

  1. Enable interrupt handling for the device's RTC peripheral.
  2. Enable global interrupts, so that any enabled and active interrupt sources can trigger their respective handler functions.