nrfx_irqs_nrf52810.h 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. /**
  2. * Copyright (c) 2017 - 2018, Nordic Semiconductor ASA
  3. *
  4. * All rights reserved.
  5. *
  6. * Redistribution and use in source and binary forms, with or without modification,
  7. * are permitted provided that the following conditions are met:
  8. *
  9. * 1. Redistributions of source code must retain the above copyright notice, this
  10. * list of conditions and the following disclaimer.
  11. *
  12. * 2. Redistributions in binary form, except as embedded into a Nordic
  13. * Semiconductor ASA integrated circuit in a product or a software update for
  14. * such product, must reproduce the above copyright notice, this list of
  15. * conditions and the following disclaimer in the documentation and/or other
  16. * materials provided with the distribution.
  17. *
  18. * 3. Neither the name of Nordic Semiconductor ASA nor the names of its
  19. * contributors may be used to endorse or promote products derived from this
  20. * software without specific prior written permission.
  21. *
  22. * 4. This software, with or without modification, must only be used with a
  23. * Nordic Semiconductor ASA integrated circuit.
  24. *
  25. * 5. Any software provided in binary form under this license must not be reverse
  26. * engineered, decompiled, modified and/or disassembled.
  27. *
  28. * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
  29. * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  30. * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
  31. * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
  32. * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  33. * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  34. * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  35. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  36. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  37. * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  38. *
  39. */
  40. #ifndef NRFX_IRQS_NRF52832_H__
  41. #define NRFX_IRQS_NRF52832_H__
  42. #ifdef __cplusplus
  43. extern "C" {
  44. #endif
  45. // POWER_CLOCK_IRQn
  46. #define nrfx_power_clock_irq_handler POWER_CLOCK_IRQHandler
  47. // RADIO_IRQn
  48. // UARTE0_IRQn
  49. #define nrfx_uarte_0_irq_handler UARTE0_IRQHandler
  50. // TWIM0_TWIS0_IRQn
  51. #if NRFX_CHECK(NRFX_PRS_BOX_0_ENABLED)
  52. #define nrfx_prs_box_0_irq_handler TWIM0_TWIS0_IRQHandler
  53. #else
  54. #define nrfx_twim_0_irq_handler TWIM0_TWIS0_IRQHandler
  55. #define nrfx_twis_0_irq_handler TWIM0_TWIS0_IRQHandler
  56. #endif
  57. // SPIM0_SPIS0_IRQn
  58. #if NRFX_CHECK(NRFX_PRS_BOX_1_ENABLED)
  59. #define nrfx_prs_box_1_irq_handler SPIM0_SPIS0_IRQHandler
  60. #else
  61. #define nrfx_spim_0_irq_handler SPIM0_SPIS0_IRQHandler
  62. #define nrfx_spis_0_irq_handler SPIM0_SPIS0_IRQHandler
  63. #endif
  64. // GPIOTE_IRQn
  65. #define nrfx_gpiote_irq_handler GPIOTE_IRQHandler
  66. // SAADC_IRQn
  67. #define nrfx_saadc_irq_handler SAADC_IRQHandler
  68. // TIMER0_IRQn
  69. #define nrfx_timer_0_irq_handler TIMER0_IRQHandler
  70. // TIMER1_IRQn
  71. #define nrfx_timer_1_irq_handler TIMER1_IRQHandler
  72. // TIMER2_IRQn
  73. #define nrfx_timer_2_irq_handler TIMER2_IRQHandler
  74. // RTC0_IRQn
  75. #define nrfx_rtc_0_irq_handler RTC0_IRQHandler
  76. // TEMP_IRQn
  77. // RNG_IRQn
  78. #define nrfx_rng_irq_handler RNG_IRQHandler
  79. // ECB_IRQn
  80. // CCM_AAR_IRQn
  81. // WDT_IRQn
  82. #define nrfx_wdt_irq_handler WDT_IRQHandler
  83. // RTC1_IRQn
  84. #define nrfx_rtc_1_irq_handler RTC1_IRQHandler
  85. // QDEC_IRQn
  86. #define nrfx_qdec_irq_handler QDEC_IRQHandler
  87. // COMP_IRQn
  88. #define nrfx_comp_irq_handler COMP_IRQHandler
  89. // SWI0_EGU0_IRQn
  90. #define nrfx_swi_0_irq_handler SWI0_EGU0_IRQHandler
  91. // SWI1_EGU1_IRQn
  92. #define nrfx_swi_1_irq_handler SWI1_EGU1_IRQHandler
  93. // SWI2_IRQn
  94. #define nrfx_swi_2_irq_handler SWI2_IRQHandler
  95. // SWI3_IRQn
  96. #define nrfx_swi_3_irq_handler SWI3_IRQHandler
  97. // SWI4_IRQn
  98. #define nrfx_swi_4_irq_handler SWI4_IRQHandler
  99. // SWI5_IRQn
  100. #define nrfx_swi_5_irq_handler SWI5_IRQHandler
  101. // PWM0_IRQn
  102. #define nrfx_pwm_0_irq_handler PWM0_IRQHandler
  103. // PDM_IRQn
  104. #define nrfx_pdm_irq_handler PDM_IRQHandler
  105. #ifdef __cplusplus
  106. }
  107. #endif
  108. #endif // NRFX_IRQS_NRF52832_H__