CC35xxDriverLibrary
interrupt.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include "../inc/hw_ints.h"
#include "../inc/hw_types.h"
#include "../cmsis/cc35xx.h"
#include "../cmsis/core/core_cm33.h"
#include "cpu.h"
Include dependency graph for interrupt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INT_PRIORITY_MASK   0x000000F0
 
#define INT_PRI_LEVEL0   0x00000000
 
#define INT_PRI_LEVEL1   0x00000010
 
#define INT_PRI_LEVEL2   0x00000020
 
#define INT_PRI_LEVEL3   0x00000030
 
#define INT_PRI_LEVEL4   0x00000040
 
#define INT_PRI_LEVEL5   0x00000050
 
#define INT_PRI_LEVEL6   0x00000060
 
#define INT_PRI_LEVEL7   0x00000070
 
#define INT_PRI_LEVEL8   0x00000080
 
#define INT_PRI_LEVEL9   0x00000090
 
#define INT_PRI_LEVEL10   0x000000A0
 
#define INT_PRI_LEVEL11   0x000000B0
 
#define INT_PRI_LEVEL12   0x000000C0
 
#define INT_PRI_LEVEL13   0x000000D0
 
#define INT_PRI_LEVEL14   0x000000E0
 
#define INT_PRI_LEVEL15   0x000000F0
 

Functions

void IntRegister (uint32_t intNum, void(*handler)(void))
 Registers a function as an interrupt handler in the dynamic vector table. More...
 
void IntUnregister (uint32_t intNum)
 Unregisters an interrupt handler in the dynamic vector table. More...
 
void IntSetPriority (uint32_t intNum, uint8_t priority)
 Sets the priority of an interrupt. More...
 
int32_t IntGetPriority (uint32_t intNum)
 Gets the priority of an interrupt. More...
 
void IntEnable (uint32_t intNum)
 Enables an interrupt or system exception. More...
 
void IntDisable (uint32_t intNum)
 Disables an interrupt or system exception. More...
 
void IntSetPend (uint32_t intNum)
 Pends an interrupt. More...
 
bool IntGetPend (uint32_t intNum)
 Checks if an interrupt is pending. More...
 
void IntClearPend (uint32_t intNum)
 Unpends an interrupt. More...
 
__STATIC_INLINE bool IntEnableMaster (void)
 Enables the CPU interrupt. More...
 
__STATIC_INLINE bool IntDisableMaster (void)
 Disables the CPU interrupts with configurable priority. More...