embedded_nrf52833_14.1.0_b6606ac6/gnarl/a-intnam.ads

  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
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
--
--  Copyright (C) 2019, AdaCore
--

--  Copyright (c) 2010 - 2018, Nordic Semiconductor ASA
--
--  All rights reserved.
--
--  Redistribution and use in source and binary forms, with or without
--  modification, are permitted provided that the following conditions are met:
--
--  1. Redistributions of source code must retain the above copyright notice,
--  this list of conditions and the following disclaimer.
--
--  2. Redistributions in binary form, except as embedded into a Nordic
--  Semiconductor ASA integrated circuit in a product or a software update for
--  such product, must reproduce the above copyright notice, this list of
--  conditions and the following disclaimer in the documentation and/or other
--  materials provided with the distribution.
--
--  3. Neither the name of Nordic Semiconductor ASA nor the names of its
--  contributors may be used to endorse or promote products derived from this
--  software without specific prior written permission.
--
--  4. This software, with or without modification, must only be used with a
--  Nordic Semiconductor ASA integrated circuit.
--
--  5. Any software provided in binary form under this license must not be
--  reverse engineered, decompiled, modified and/or disassembled.
--
--  THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY
--  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
--  WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A
--  PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR
--  ASA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
--  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
--  TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
--  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
--  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
--  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
--  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--

--  This spec has been automatically generated from nrf52.svd and then modified
--  according to interrupt table in manual
--  https://infocenter.nordicsemi.com/pdf/nRF52833_PS_v1.3.pdf page 22/23.

--  Note that GPIO pin interrupts are always done via GPIOTE
--  https://devzone.nordicsemi.com/f/nordic-q-a/47973/
--  how-to-implement-interrupt-using-gpio-not-gpiote-peripheral.

package Ada.Interrupts.Names is

   --  All identifiers in this unit are implementation defined

   pragma Implementation_Defined;

   ----------------
   -- Interrupts --
   ----------------

   --  System tick
   Sys_Tick_Interrupt                           : constant Interrupt_ID := -1;
   POWER_CLOCK_Interrupt                        : constant Interrupt_ID := 0;
   RADIO_Interrupt                              : constant Interrupt_ID := 1;
   UARTE0_UART0_Interrupt                       : constant Interrupt_ID := 2;
   SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_Interrupt  : constant Interrupt_ID := 3;
   SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1_Interrupt  : constant Interrupt_ID := 4;
   NFCT_Interrupt                               : constant Interrupt_ID := 5;
   GPIOTE_Interrupt                             : constant Interrupt_ID := 6;
   SAADC_Interrupt                              : constant Interrupt_ID := 7;
   TIMER0_Interrupt                             : constant Interrupt_ID := 8;
   TIMER1_Interrupt                             : constant Interrupt_ID := 9;
   TIMER2_Interrupt                             : constant Interrupt_ID := 10;
   RTC0_Interrupt                               : constant Interrupt_ID := 11;
   TEMP_Interrupt                               : constant Interrupt_ID := 12;
   RNG_Interrupt                                : constant Interrupt_ID := 13;
   ECB_Interrupt                                : constant Interrupt_ID := 14;
   CCM_AAR_Interrupt                            : constant Interrupt_ID := 15;
   WDT_Interrupt                                : constant Interrupt_ID := 16;
   RTC1_Interrupt                               : constant Interrupt_ID := 17;
   QDEC_Interrupt                               : constant Interrupt_ID := 18;
   COMP_LPCOMP_Interrupt                        : constant Interrupt_ID := 19;
   SWI0_EGU0_Interrupt                          : constant Interrupt_ID := 20;
   SWI1_EGU1_Interrupt                          : constant Interrupt_ID := 21;
   SWI2_EGU2_Interrupt                          : constant Interrupt_ID := 22;
   SWI3_EGU3_Interrupt                          : constant Interrupt_ID := 23;
   SWI4_EGU4_Interrupt                          : constant Interrupt_ID := 24;
   SWI5_EGU5_Interrupt                          : constant Interrupt_ID := 25;
   TIMER3_Interrupt                             : constant Interrupt_ID := 26;
   TIMER4_Interrupt                             : constant Interrupt_ID := 27;
   PWM0_Interrupt                               : constant Interrupt_ID := 28;
   PDM_Interrupt                                : constant Interrupt_ID := 29;
   ACL_NVMC_Interrupt                           : constant Interrupt_ID := 30;
   PPI_Interrupt                                : constant Interrupt_ID := 31;
   MWU_Interrupt                                : constant Interrupt_ID := 32;
   PWM1_Interrupt                               : constant Interrupt_ID := 33;
   PWM2_Interrupt                               : constant Interrupt_ID := 34;
   SPIM2_SPIS2_SPI2_Interrupt                   : constant Interrupt_ID := 35;
   RTC2_Interrupt                               : constant Interrupt_ID := 36;
   I2S_Interrupt                                : constant Interrupt_ID := 37;
   FPU_Interrupt                                : constant Interrupt_ID := 38;
   USBD_Interrupt                               : constant Interrupt_ID := 39;
   UARTE1_Interrupt                             : constant Interrupt_ID := 40;
   Unused_Interrupt_1                           : constant Interrupt_ID := 41;
   Unused_Interrupt_2                           : constant Interrupt_ID := 42;
   Unused_Interrupt_3                           : constant Interrupt_ID := 43;
   Unused_Interrupt_4                           : constant Interrupt_ID := 44;
   PWM3_Interrupt                               : constant Interrupt_ID := 45;
   Unused_Interrupt_5                           : constant Interrupt_ID := 46;
   SPIM3_Interrupt                              : constant Interrupt_ID := 47;

end Ada.Interrupts.Names;