![]() |
AVR SD Safety Framework 1.0.0
|
Implements APIs for the Interrupt Manager. More...
#include <stdbool.h>#include <stdint.h>#include <define_error_flags.h>#include <driver_cpuctrl.h>#include <driver_cpuint.h>#include <midware_interrupt_manager.h>#include <xc.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. | |
Implements APIs for the Interrupt Manager.