IntCtrl_Ip_DeviceRegisters.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral :
  5. * Dependencies : none
  6. *
  7. * Autosar Version : 4.4.0
  8. * Autosar Revision : ASR_REL_4_4_REV_0000
  9. * Autosar Conf.Variant :
  10. * SW Version : 1.0.0
  11. * Build Version : S32K1_RTD_1_0_0_HF01_D2109_ASR_REL_4_4_REV_0000_20210907
  12. *
  13. * (c) Copyright 2020-2021 NXP Semiconductors
  14. * All Rights Reserved.
  15. *
  16. * NXP Confidential. This software is owned or controlled by NXP and may only be
  17. * used strictly in accordance with the applicable license terms. By expressly
  18. * accepting such terms or by downloading, installing, activating and/or otherwise
  19. * using the software, you are agreeing that you have read, and that you agree to
  20. * comply with and are bound by, such license terms. If you do not agree to be
  21. * bound by the applicable license terms, then you may not retain, install,
  22. * activate or otherwise use the software.
  23. ==================================================================================================*/
  24. #ifndef INTCTRL_IP_DEVICE_REGISTERS_H_
  25. #define INTCTRL_IP_DEVICE_REGISTERS_H_
  26. /**
  27. * @file
  28. *
  29. * @addtogroup IntCtrl_Ip
  30. * @{
  31. */
  32. /*==================================================================================================
  33. * INCLUDE FILES
  34. ==================================================================================================*/
  35. #include "StandardTypes.h"
  36. #define PLATFORM_INTCTRL_IP_DEVICE_REGISTERS_TYPES_VENDOR_ID 43
  37. #define PLATFORM_INTCTRL_IP_DEVICE_REGISTERS_SW_MAJOR_VERSION 1
  38. #define PLATFORM_INTCTRL_IP_DEVICE_REGISTERS_SW_MINOR_VERSION 0
  39. #define PLATFORM_INTCTRL_IP_DEVICE_REGISTERS_SW_PATCH_VERSION 0
  40. #ifdef S32K116
  41. #include "S32K116.h"
  42. #endif
  43. #ifdef S32K118
  44. #include "S32K118.h"
  45. #endif
  46. #ifdef S32K142
  47. #include "S32K142.h"
  48. #endif
  49. #ifdef S32K142W
  50. #include "S32K142W.h"
  51. #endif
  52. #ifdef S32K144
  53. #include "S32K144.h"
  54. #endif
  55. #ifdef S32K144W
  56. #include "S32K144W.h"
  57. #endif
  58. #ifdef S32K146
  59. #include "S32K146.h"
  60. #endif
  61. #ifdef S32K148
  62. #include "S32K148.h"
  63. #endif
  64. #if !defined(S32K142) && !defined(S32K144) && !defined(S32K144W) && !defined(S32K146) && !defined(S32K148) && !defined(S32K118) && !defined(S32K116) && !defined(S32K142W) && !defined(S32K144W)
  65. #error "Unknown Platform"
  66. #endif
  67. typedef struct {
  68. __IO uint32_t IntStatusR; /**< Interrupt Router CPn Interruptx Status Register, array offset: 0x200, index*0x20, index2*0x8 */
  69. __O uint32_t IGR; /**< Interrupt Router CPn Interruptx Generation Register, array offset: 0x204, index*0x20, index2*0x8 */
  70. } MSCM_IRCP_IR_Type;
  71. typedef struct {
  72. MSCM_IRCP_IR_Type IRCPnIRx[2][4];
  73. } MSCM_IRCPnIRx_Type;
  74. #define MSCM_IRCPnIRx ((MSCM_IRCPnIRx_Type*)&MSCM->IRCP0ISR0)
  75. #endif /* INTCTRL_IP_DEVICE_REGISTERS_H_ */
  76. /** @} */