RP2040.h
Go to the documentation of this file.
1/*************************************************************************/
8/*
9 * Copyright (c) 2009-2021 Arm Limited. All rights reserved.
10 * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
11 *
12 * SPDX-License-Identifier: Apache-2.0
13 *
14 * Licensed under the Apache License, Version 2.0 (the License); you may
15 * not use this file except in compliance with the License.
16 * You may obtain a copy of the License at
17 *
18 * www.apache.org/licenses/LICENSE-2.0
19 *
20 * Unless required by applicable law or agreed to in writing, software
21 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
22 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 * See the License for the specific language governing permissions and
24 * limitations under the License.
25 *
26 * SPDX-License-Identifier: BSD-3-Clause
27 */
28
29#ifndef _CMSIS_RP2040_H_
30#define _CMSIS_RP2040_H_
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36/* =========================================================================================================================== */
37/* ================ Interrupt Number Definition ================ */
38/* =========================================================================================================================== */
39
40typedef enum
41{
42 /* ======================================= ARM Cortex-M0+ Specific Interrupt Numbers ======================================= */
43 Reset_IRQn = -15,
49 /* =========================================== RP2040 Specific Interrupt Numbers =========================================== */
75 RTC_IRQ_IRQn = 25
77
78/* =========================================================================================================================== */
79/* ================ Processor and Core Peripheral Section ================ */
80/* =========================================================================================================================== */
81
82/* ========================== Configuration of the ARM Cortex-M0+ Processor and Core Peripherals =========================== */
83#define __CM0PLUS_REV 0x0001U
84#define __NVIC_PRIO_BITS 2
85#define __Vendor_SysTickConfig 0
86#define __VTOR_PRESENT 1
87#define __MPU_PRESENT 1
88#define __FPU_PRESENT 0 /* End of group Configuration_of_CMSIS */
91
92#include "core_cm0plus.h"
93#include "system_RP2040.h"
95#ifndef __IM
96#define __IM __I
97#endif
98#ifndef __OM
99#define __OM __O
100#endif
101#ifndef __IOM
102#define __IOM __IO
103#endif
104
105#ifdef __cplusplus
106}
107#endif
108
109#endif /* _CMSIS_RP2040_H */
IRQn_Type
Definition: RP2040.h:41
@ PendSV_IRQn
Definition: RP2040.h:47
@ PIO0_IRQ_1_IRQn
Definition: RP2040.h:58
@ DMA_IRQ_0_IRQn
Definition: RP2040.h:61
@ PIO1_IRQ_1_IRQn
Definition: RP2040.h:60
@ I2C0_IRQ_IRQn
Definition: RP2040.h:73
@ ADC_IRQ_FIFO_IRQn
Definition: RP2040.h:72
@ SPI1_IRQ_IRQn
Definition: RP2040.h:69
@ SIO_IRQ_PROC0_IRQn
Definition: RP2040.h:65
@ XIP_IRQ_IRQn
Definition: RP2040.h:56
@ DMA_IRQ_1_IRQn
Definition: RP2040.h:62
@ SVCall_IRQn
Definition: RP2040.h:46
@ SIO_IRQ_PROC1_IRQn
Definition: RP2040.h:66
@ Reset_IRQn
Definition: RP2040.h:43
@ TIMER_IRQ_1_IRQn
Definition: RP2040.h:51
@ PWM_IRQ_WRAP_IRQn
Definition: RP2040.h:54
@ TIMER_IRQ_3_IRQn
Definition: RP2040.h:53
@ SysTick_IRQn
Definition: RP2040.h:48
@ UART0_IRQ_IRQn
Definition: RP2040.h:70
@ PIO0_IRQ_0_IRQn
Definition: RP2040.h:57
@ SPI0_IRQ_IRQn
Definition: RP2040.h:68
@ UART1_IRQ_IRQn
Definition: RP2040.h:71
@ PIO1_IRQ_0_IRQn
Definition: RP2040.h:59
@ HardFault_IRQn
Definition: RP2040.h:45
@ I2C1_IRQ_IRQn
Definition: RP2040.h:74
@ RTC_IRQ_IRQn
Definition: RP2040.h:75
@ TIMER_IRQ_2_IRQn
Definition: RP2040.h:52
@ USBCTRL_IRQ_IRQn
Definition: RP2040.h:55
@ CLOCKS_IRQ_IRQn
Definition: RP2040.h:67
@ IO_IRQ_QSPI_IRQn
Definition: RP2040.h:64
@ NonMaskableInt_IRQn
Definition: RP2040.h:44
@ IO_IRQ_BANK0_IRQn
Definition: RP2040.h:63
@ TIMER_IRQ_0_IRQn
Definition: RP2040.h:50
CMSIS Cortex-M0+ Core Peripheral Access Layer Header File.
CMSIS-Core(M) Device Peripheral Access Layer Header File for Device RP2040.