AVR SD Safety Framework 1.0.0
Loading...
Searching...
No Matches
midware_interrupt_manager.h File Reference

Contains API prototypes for the Interrupt Manager. More...

#include <stdbool.h>
#include <stdint.h>
#include <define_error_flags.h>

Functions

void MW_SetIntVectorLayout (bool expectAltLoc, bool expectCompactTable)
 Configures the expected interrupt vector table location and whether the Compact Vector Table (CVT) format is used.
errFlag_t MW_SetIntPriority (bool useRoundRobin, uint8_t altStartVect, uint8_t highPriorityVect)
 Configures interrupt scheduling and priority scheme.
errFlag_t MW_EnableGlobalInterrupts (void)
 Enables global interrupts on the device.
void MW_DisableGlobalInterrupts (void)
 Disables global interrupts on the device.
bool MW_EnterCriticalSection (void)
 Enters a critical section by disabling global interrupts.
void MW_ExitCriticalSection (bool wasInterruptEnabled)
 Exits a critical section by restoring the previous global interrupt state.

Detailed Description

Contains API prototypes for the Interrupt Manager.

Version
1.0.0

The Interrupt Manager provides services to Tasks to ensure correct interaction with features of the CPUCTRL and CPUINT modules.