FuSa 8-Bit Libraries Safety Framework
Loading...
Searching...
No Matches
midware_interrupt_manager.h
Go to the documentation of this file.
1
27
28#ifndef MIDWARE_INTERRUPT_MANAGER_H
29#define MIDWARE_INTERRUPT_MANAGER_H
30
31// Standard Library Includes
32#include <stdbool.h>
33#include <stdint.h>
34
35// Framework Includes
36#include <define_error_flags.h>
37
47void MW_SetIntVectorLocation(bool expectAltLoc);
48
77errFlag_t MW_SetIntPriority(bool useRoundRobin, uint8_t altStartVect, uint8_t highPriorityVect);
78
90
96
97#endif // MIDWARE_INTERRUPT_MANAGER_H
Defines error flag type for indicating detected errors in Middleware services.
errFlag_t
Defines the error flag used by Middleware services to indicate error detection.
errFlag_t MW_EnableGlobalInterrupts(void)
Enables global interrupts on the device.
void MW_DisableGlobalInterrupts(void)
Disables global interrupts on the device.
errFlag_t MW_SetIntPriority(bool useRoundRobin, uint8_t altStartVect, uint8_t highPriorityVect)
Configures interrupt scheduling and priority scheme.
void MW_SetIntVectorLocation(bool expectAltLoc)
Configures whether the device should expect an alternative interrupt vector table location (see IVSEL...