-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcore_cm0_psoc4.h
45 lines (38 loc) · 1.98 KB
/
core_cm0_psoc4.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*******************************************************************************
* File Name: core_cm0_psoc4.h
* Version 4.11
*
* Description:
* Provides important type information for the PSOC4 device family.
* This includes types necessary for core_cm0.h.
*
* Note:
* Documentation of the API's in this file is located in the
* System Reference Guide provided with PSoC Creator.
*
********************************************************************************
* Copyright 2008-2014, Cypress Semiconductor Corporation. All rights reserved.
* You may use this file only in accordance with the license, terms, conditions,
* disclaimers, and limitations in the end user license agreement accompanying
* the software package with which this file was provided.
*******************************************************************************/
#if !defined(CY_BOOT_CORE_CM0_PSOC4_H)
#define CY_BOOT_CORE_CM0_PSOC4_H
/** Interrupt Number Definition */
typedef enum IRQn
{
/****** Cortex-M0 Processor Exceptions Numbers ***************************************************/
NonMaskableInt_IRQn = -14, /*!< 2 Non Maskable Interrupt */
HardFault_IRQn = -13, /*!< 3 Cortex-M0 Hard Fault Interrupt */
SVCall_IRQn = -5, /*!< 11 Cortex-M0 SV Call Interrupt */
PendSV_IRQn = -2, /*!< 14 Cortex-M0 Pend SV Interrupt */
SysTick_IRQn = -1 /*!< 15 Cortex-M0 System Tick Interrupt */
/****** PSOC4 Peripheral Interrupt Numbers *******************************************************/
/* Not relevant. All peripheral interrupts are defined by the user */
} IRQn_Type;
#define __CHECK_DEVICE_DEFINES
#define __CM0_REV 0x0000
#define __NVIC_PRIO_BITS 2
#define __Vendor_SysTickConfig 0
#include <core_cm0.h>
#endif /* CY_BOOT_CORE_CM0_PSOC4_H */