36 #ifndef __INTERRUPT_H__ 37 #define __INTERRUPT_H__ 61 #include "../inc/hw_ints.h" 62 #include "../inc/hw_types.h" 64 #include "../cmsis/cc23x0r2.h" 65 #include "../cmsis/core/core_cm0plus.h" 125 extern void IntRegister(uint32_t intNum,
void (*handler)(
void));
365 return (interruptsDisabled);
386 return (interruptsDisabled);
406 #endif // __INTERRUPT_H__ __STATIC_INLINE bool IntDisableMaster(void)
Disables the CPU interrupts with configurable priority.
Definition: interrupt.h:381
void IntEnable(uint32_t intNum)
Enables an interrupt or system exception.
Definition: interrupt.c:248
int32_t IntGetPriority(uint32_t intNum)
Gets the priority of an interrupt.
Definition: interrupt.c:194
__STATIC_INLINE bool IntEnableMaster(void)
Enables the CPU interrupt.
Definition: interrupt.h:360
bool IntIsEnabled(uint32_t intNum)
Check whether an interrupt is enabled.
Definition: interrupt.c:221
bool IntGetPend(uint32_t intNum)
Checks if an interrupt is pending.
Definition: interrupt.c:331
__STATIC_FORCEINLINE void __disable_irq(void)
Disable IRQ Interrupts.
Definition: cmsis_gcc.h:207
__STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
Get Priority Mask.
Definition: cmsis_gcc.h:449
void IntClearPend(uint32_t intNum)
Unpends an interrupt.
Definition: interrupt.c:362
void IntUnregister(uint32_t intNum)
Unregisters an interrupt handler in the dynamic vector table.
Definition: interrupt.c:124
void IntSetPriority(uint32_t intNum, uint8_t priority)
Sets the priority of an interrupt.
Definition: interrupt.c:138
void IntRegister(uint32_t intNum, void(*handler)(void))
Registers a function as an interrupt handler in the dynamic vector table.
void IntSetPend(uint32_t intNum)
Pends an interrupt.
Definition: interrupt.c:294
#define __STATIC_INLINE
Definition: cmsis_gcc.h:47
__STATIC_FORCEINLINE void __enable_irq(void)
Enable IRQ Interrupts.
Definition: cmsis_gcc.h:196
void IntDisable(uint32_t intNum)
Disables an interrupt or system exception.
Definition: interrupt.c:271