1 /*
2  * Copyright (c) 2017 - 2020, Nordic Semiconductor ASA
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are met:
7  *
8  * 1. Redistributions of source code must retain the above copyright notice, this
9  *    list of conditions and the following disclaimer.
10  *
11  * 2. Redistributions in binary form must reproduce the above copyright
12  *    notice, this list of conditions and the following disclaimer in the
13  *    documentation and/or other materials provided with the distribution.
14  *
15  * 3. Neither the name of the copyright holder nor the names of its
16  *    contributors may be used to endorse or promote products derived from this
17  *    software without specific prior written permission.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
23  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29  * POSSIBILITY OF SUCH DAMAGE.
30  */
31 
32 #ifndef NRFX_IRQS_H__
33 #define NRFX_IRQS_H__
34 
35 #if defined(NRF51)
36     #include <soc/nrfx_irqs_nrf51.h>
37 #elif defined(NRF52805_XXAA)
38     #include <soc/nrfx_irqs_nrf52805.h>
39 #elif defined(NRF52810_XXAA)
40     #include <soc/nrfx_irqs_nrf52810.h>
41 #elif defined(NRF52811_XXAA)
42     #include <soc/nrfx_irqs_nrf52811.h>
43 #elif defined(NRF52820_XXAA)
44     #include <soc/nrfx_irqs_nrf52820.h>
45 #elif defined(NRF52832_XXAA) || defined (NRF52832_XXAB)
46     #include <soc/nrfx_irqs_nrf52832.h>
47 #elif defined(NRF52833_XXAA)
48     #include <soc/nrfx_irqs_nrf52833.h>
49 #elif defined(NRF52840_XXAA)
50     #include <soc/nrfx_irqs_nrf52840.h>
51 #elif defined(NRF9160_XXAA)
52     #include <soc/nrfx_irqs_nrf9160.h>
53 #elif defined(NRF5340_XXAA_APPLICATION)
54     #include <soc/nrfx_irqs_nrf5340_application.h>
55 #elif defined(NRF5340_XXAA_NETWORK)
56     #include <soc/nrfx_irqs_nrf5340_network.h>
57 #else
58     #error "Unknown device."
59 #endif
60 
61 #endif // NRFX_IRQS_H__
62